Skip to content

Commit 73a3c2e

Browse files
Update main.tf
Co-authored-by: Anton Babenko <[email protected]>
1 parent 593f755 commit 73a3c2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ resource "aws_vpc_ipv4_cidr_block_association" "this" {
6262
resource "aws_vpc_block_public_access_options" "this" {
6363
count = local.create_vpc && length(keys(var.vpc_block_public_access_options)) ? 1 : 0
6464

65-
internet_gateway_block_mode = var.internet_gateway_block_mode
65+
internet_gateway_block_mode = try(var.vpc_block_public_access_options["internet_gateway_block_mode"], null)
6666
}
6767

6868
resource "aws_vpc_block_public_access_exclusion" "this" {

0 commit comments

Comments
 (0)