diff --git a/terraform/modules/aws-ecr/outputs.tf b/terraform/modules/aws-ecr/outputs.tf index 9eba043..55f2260 100644 --- a/terraform/modules/aws-ecr/outputs.tf +++ b/terraform/modules/aws-ecr/outputs.tf @@ -2,3 +2,8 @@ output "ecr_repository_url" { value = var.create_ecr_repository ? aws_ecr_repository.this[0].repository_url : "" description = "The URL of the ECR repository, or empty if not created." } + +output "ecr_repository_arn" { + value = var.create_ecr_repository ? aws_ecr_repository.this[0].arn : "" + description = "The ARN of the ECR repository, or empty if not created." +} diff --git a/terraform/modules/k8s-addons/eks-gha-runner-scale-set.tf b/terraform/modules/k8s-addons/eks-gha-runner-scale-set.tf index 387ad09..73b5b19 100644 --- a/terraform/modules/k8s-addons/eks-gha-runner-scale-set.tf +++ b/terraform/modules/k8s-addons/eks-gha-runner-scale-set.tf @@ -7,6 +7,7 @@ locals { namespace = local.helm_releases[index(local.helm_releases.*.id, "gha-runner-scale-set")].namespace } kube_github_runner_github_token = lookup(jsondecode(data.aws_secretsmanager_secret_version.infra.secret_string), "github_pat_token", "") + service_account_name = "gha-runner-scale-set-gha-rs-no-permission" gha_runner_scale_set_values = <