Difference between revisions of "Cidr blocks"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
* <code>cidr_blocks = [for s in [[data.aws_subnet]].your_all_public : s.cidr_block]</code> | * <code>cidr_blocks = [for s in [[data.aws_subnet]].your_all_public : s.cidr_block]</code> | ||
* <code>cidr_blocks = ["0.0.0.0/0"]</code> | * <code>cidr_blocks = ["0.0.0.0/0"]</code> | ||
+ | * <code>cidr_blocks = var.your_ips</code> | ||
Revision as of 12:23, 24 May 2023
Examples:
cidr_blocks = [for s in data.aws_subnet.your_all_public : s.cidr_block]
cidr_blocks = ["0.0.0.0/0"]
cidr_blocks = var.your_ips
aws_security_group_rule for from_port
See also
Advertising: