Skip to content

Commit

Permalink
Enabled ECR vpc endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
mpon committed Aug 19, 2020
1 parent c460d5f commit 9de38bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 5 additions & 3 deletions terraform/prod/vpc.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ module "vpc" {
cidrsubnet(var.vpc_cidr, 3, 5),
]

enable_nat_gateway = true
enable_dns_support = true
enable_dns_hostnames = true
enable_nat_gateway = true
enable_dns_support = true
enable_dns_hostnames = true

enable_s3_endpoint = true
enable_ecr_api_endpoint = true
enable_ecr_dkr_endpoint = true
ecr_dkr_endpoint_private_dns_enabled = true
ecr_dkr_endpoint_security_group_ids = [aws_security_group.private.id]

Expand Down
2 changes: 2 additions & 0 deletions terraform/stg/vpc.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ module "vpc" {
enable_dns_hostnames = true

enable_s3_endpoint = true
enable_ecr_api_endpoint = true
enable_ecr_dkr_endpoint = true
ecr_dkr_endpoint_private_dns_enabled = true
ecr_dkr_endpoint_security_group_ids = [aws_security_group.private.id]

Expand Down

0 comments on commit 9de38bb

Please sign in to comment.