diff --git a/modules/vpc/outputs.tf b/modules/vpc/outputs.tf index 4ee925f..ea6ea4b 100644 --- a/modules/vpc/outputs.tf +++ b/modules/vpc/outputs.tf @@ -120,7 +120,7 @@ output "egress_only_internet_gateway_enabled" { output "egress_only_internet_gateway_id" { description = "The ID of the Egress Only Internet Gateway." - value = one(aws_egress_only_internet_gateway.this[0].id) + value = one(aws_egress_only_internet_gateway.this[*].id) } output "vpn_gateway_enabled" { diff --git a/modules/vpc/variables.tf b/modules/vpc/variables.tf index 582c4f0..0c5a962 100644 --- a/modules/vpc/variables.tf +++ b/modules/vpc/variables.tf @@ -6,7 +6,7 @@ variable "name" { variable "cidr_block" { description = "The CIDR block for the VPC. Default value is a valid CIDR, but not acceptable by AWS and should be overridden." type = string - default = "0.0.0.0/0" + default = "10.0.0.0/16" } variable "secondary_cidr_blocks" {