Skip to content

Commit

Permalink
feat: enabled vpc endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
vibutigoyal committed Jun 21, 2023
1 parent 4c0a0c4 commit 0e7ffe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _example/public-private-subnet-endpoint/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ module "vpc" {
####----------------------------------------------------------------------------------
## Subnet is a range of IP addresses in your VPC.
####----------------------------------------------------------------------------------
#tfsec:ignore:aws-ec2-no-public-ip-subnet
module "subnets" {
source = "./../../"

Expand All @@ -38,7 +39,6 @@ module "subnets" {
cidr_block = module.vpc.vpc_cidr_block
ipv6_cidr_block = module.vpc.ipv6_cidr_block
assign_ipv6_address_on_creation = false
public_subnet_ids = []
enable_vpc_endpoint = true
service_name = "com.amazonaws.${data.aws_region.current.name}.ec2"
}

0 comments on commit 0e7ffe2

Please sign in to comment.