This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch disable-packer-role
in repository https://gitbox.apache.org/repos/asf/airflow-ci-infra.git

commit 293955018d5f95e8192305d3710749af89ff5605
Author: Jarek Potiuk <[email protected]>
AuthorDate: Wed Aug 11 22:05:57 2021 +0200

    Remove unnecessary packer role setting
---
 github-runner-ami/packer/ubuntu2004.pkr.hcl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/github-runner-ami/packer/ubuntu2004.pkr.hcl 
b/github-runner-ami/packer/ubuntu2004.pkr.hcl
index 4ffd1c9..020e6ee 100644
--- a/github-runner-ami/packer/ubuntu2004.pkr.hcl
+++ b/github-runner-ami/packer/ubuntu2004.pkr.hcl
@@ -35,10 +35,10 @@ variable "session_manager_instance_profile_name" {
 }
 
 source "amazon-ebs" "runner_builder" {
-  assume_role {
-    role_arn     = var.packer_role_arn
-    session_name = var.runner_version
-  }
+//  assume_role {
+//    role_arn     = var.packer_role_arn
+//    session_name = var.runner_version
+//  }
   #access_key = ""
   #secret_key = ""
   region = var.aws_regions[0]

Reply via email to