Skip to content

Commit f62034c

Browse files
committed
Fix ecr repo name, remove production version
1 parent a729b0c commit f62034c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

terraform/environments/production/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ module "production" {
1818
project = "<% .Name %>"
1919
region = "<% index .Params `region` %>"
2020
allowed_account_ids = ["<% index .Params `accountId` %>"]
21+
2122
# ECR configuration
22-
ecr_repositories = ["<% .Name %>-production"]
23+
ecr_repositories = [] # Should be created by the staging environment
2324

2425
# EKS configuration
2526
eks_cluster_version = "1.15"

terraform/environments/staging/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module "staging" {
1919
region = "<% index .Params `region` %>"
2020
allowed_account_ids = ["<% index .Params `accountId` %>"]
2121
# ECR configuration
22-
ecr_repositories = [ "<% .Name %>-staging" ]
22+
ecr_repositories = [ "<% .Name %>" ]
2323

2424
# EKS configuration
2525
eks_cluster_version = "1.15"

0 commit comments

Comments
 (0)