Difference between revisions of "Cidr blocks"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
== Related == | == Related == | ||
* [[Terraform resource]]: <code>[[aws_security_group_rule]]</code> | * [[Terraform resource]]: <code>[[aws_security_group_rule]]</code> | ||
− | * [[Terraform resource: aws_security_group]] | + | * [[Terraform resource]]: <code>[[Terraform resource: aws_security_group]]</code> |
* <code>[[aws_vpc]]</code> | * <code>[[aws_vpc]]</code> | ||
[[for]] | [[for]] |
Revision as of 14:11, 29 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
cidr_blocks = [aws_vpc.example.cidr_block]
Related
- Terraform resource:
aws_security_group_rule
- Terraform resource:
Terraform resource: aws_security_group
aws_vpc
for from_port
See also
Advertising: