Skip to content

Commit

Permalink
Update modules/lambda-registrator/main.tf
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Thain <32781396+cthain@users.noreply.github.com>
  • Loading branch information
aahel and cthain authored Sep 18, 2023
1 parent d11ac13 commit 44265ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/lambda-registrator/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,13 @@ resource "aws_iam_role_policy_attachment" "lambda_logs" {
resource "random_id" "repo_id" {
byte_length = 8
}

resource "aws_ecr_repository" "lambda-registrator" {
count = var.ecr_image_uri != "" ? 0 : 1
name = local.ecr_repo_name
force_delete = true
}


resource "docker_image" "lambda_registrator" {
count = var.ecr_image_uri != "" ? 0 : 1
name = var.consul_lambda_registrator_image
Expand Down

0 comments on commit 44265ea

Please sign in to comment.