Skip to content

Commit

Permalink
fix: override
Browse files Browse the repository at this point in the history
  • Loading branch information
avx-rodmans committed Dec 7, 2023
1 parent af15d74 commit 361518f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ locals {
docker push ${aws_ecr_repository.runner_image.repository_url}:${local.image_tag}
EOT
github_token_arn = try(var.secret_arn_override, aws_secretsmanager_secret.github_token[0].arn)
github_token_arn = var.secret_arn_override == null ? aws_secretsmanager_secret.github_token[0].arn : var.secret_arn_override
}

resource "aws_ecr_repository" "runner_image" {
Expand Down

0 comments on commit 361518f

Please sign in to comment.