Difference between revisions of "Cidr blocks"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
* <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>
 
* <code>cidr_blocks = var.your_ips</code>
 +
* <code>cidr_blocks = [aws_vpc.example.cidr_block]</code>
  
  

Revision as of 14:09, 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

for
from_port

See also

Advertising: