diff --git a/_example/public-private-subnet-endpoint/example.tf b/_example/public-private-subnet-endpoint/example.tf index 5871e18..c09c93d 100644 --- a/_example/public-private-subnet-endpoint/example.tf +++ b/_example/public-private-subnet-endpoint/example.tf @@ -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 = "./../../" @@ -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" } \ No newline at end of file