Skip to content

Commit 9de38bb

Browse files
committed
Enabled ECR vpc endpoint
1 parent c460d5f commit 9de38bb

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

terraform/prod/vpc.tf

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ module "vpc" {
1717
cidrsubnet(var.vpc_cidr, 3, 5),
1818
]
1919

20-
enable_nat_gateway = true
21-
enable_dns_support = true
22-
enable_dns_hostnames = true
20+
enable_nat_gateway = true
21+
enable_dns_support = true
22+
enable_dns_hostnames = true
2323

2424
enable_s3_endpoint = true
25+
enable_ecr_api_endpoint = true
26+
enable_ecr_dkr_endpoint = true
2527
ecr_dkr_endpoint_private_dns_enabled = true
2628
ecr_dkr_endpoint_security_group_ids = [aws_security_group.private.id]
2729

terraform/stg/vpc.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ module "vpc" {
2424
enable_dns_hostnames = true
2525

2626
enable_s3_endpoint = true
27+
enable_ecr_api_endpoint = true
28+
enable_ecr_dkr_endpoint = true
2729
ecr_dkr_endpoint_private_dns_enabled = true
2830
ecr_dkr_endpoint_security_group_ids = [aws_security_group.private.id]
2931

0 commit comments

Comments
 (0)