We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 593f755 commit 73a3c2eCopy full SHA for 73a3c2e
main.tf
@@ -62,7 +62,7 @@ resource "aws_vpc_ipv4_cidr_block_association" "this" {
62
resource "aws_vpc_block_public_access_options" "this" {
63
count = local.create_vpc && length(keys(var.vpc_block_public_access_options)) ? 1 : 0
64
65
- internet_gateway_block_mode = var.internet_gateway_block_mode
+ internet_gateway_block_mode = try(var.vpc_block_public_access_options["internet_gateway_block_mode"], null)
66
}
67
68
resource "aws_vpc_block_public_access_exclusion" "this" {
0 commit comments