Difference between revisions of "Cidr blocks"

From wikieduonline
Jump to navigation Jump to search
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
<code>[[cidr_blocks]]</code> in Terraform resources:
 +
* <code>[[aws_security_group_rule]]</code>
 +
* <code>[[Terraform resource: aws_security_group|aws_security_group]]</code>
  
Examples:
+
== Examples ==
 
* <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>
 
* <code>cidr_blocks = var.your_ips</code>
 
* <code>cidr_blocks = [aws_vpc.example.cidr_block]</code>
 
* <code>cidr_blocks = [aws_vpc.example.cidr_block]</code>
 
 
* [[Terraform resource]]: <code>[[Terraform resource: aws_security_group|aws_security_group]]</code>
 
  
  
 
== Related ==
 
== Related ==
 
* [[Terraform resource]]: <code>[[aws_security_group_rule]]</code>
 
* [[Terraform resource]]: <code>[[aws_security_group_rule]]</code>
[[for]]
+
* [[Terraform resource]]: <code>[[Terraform resource: aws_security_group|aws_security_group]]</code>
[[from_port]]
+
* <code>[[cidr_block]]</code> in <code>[[aws_vpc]]</code>
 +
* <code>[[for]]</code>
 +
* <code>[[from_port]]</code> in <code>[[aws_security_group_rule]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 14:15, 29 May 2023

Advertising: