Skip to content

Commit

Permalink
Merge pull request #9 from kieranbrown/support-vpc-additional-cidr-bl…
Browse files Browse the repository at this point in the history
…ock-allocations

Added support for additional VPC cidr block associations
  • Loading branch information
RaJiska authored Feb 25, 2024
2 parents d30df52 + f24486f commit 2172a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ resource "aws_security_group" "main" {
from_port = 0
to_port = 0
protocol = "-1"
cidr_blocks = ["${data.aws_vpc.main.cidr_block}"]
cidr_blocks = data.aws_vpc.main.cidr_block_associations[*].cidr_block
}

egress {
Expand Down

0 comments on commit 2172a1d

Please sign in to comment.