Skip to content

Commit

Permalink
fix(infrastructure): unique name for ecr repo
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-h1 committed Aug 28, 2024
1 parent 7b11090 commit 0ab19d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/ecr.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "aws_ecr_repository" "ecr_repo" {
name = var.project_name
name = "${var.project_name}-${var.env}-ecr-repo"
# required if we need to do a full teardown
force_delete = true

Expand Down Expand Up @@ -30,4 +30,4 @@ resource "aws_ecr_lifecycle_policy" "ecr_repo_policy" {
]
}
EOF
}
}

0 comments on commit 0ab19d2

Please sign in to comment.