Difference between revisions of "MyVPC cidr block"

From wikieduonline
Jump to navigation Jump to search
(Created page with "<pre> variable "Myvpc_cidr_block" { description = "CIDR block for VPC" type = string default = "10.0.0.0/16" } </pre> == See also == * {{cidr_block}} * {{te...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<pre>
+
* https://learn.hashicorp.com/tutorials/terraform/variables?in=terraform/cli
variable "Myvpc_cidr_block" {
+
 
  description = "CIDR block for VPC"
+
  type        = string
+
variable "Myvpc_cidr_block" {
  default    = "10.0.0.0/16"
+
  description = "CIDR block for VPC"
}
+
  type        = [[string]]
</pre>
+
  [[default]]     = "[[10.0.0.0/16]]"
 +
}
  
  
 
== See also ==
 
== See also ==
 
* {{cidr_block}}
 
* {{cidr_block}}
* {{terrafrom plan}}
+
* {{terraform plan}}
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]
 
[[Category:AWS]]
 
[[Category:AWS]]

Latest revision as of 17:03, 20 September 2021

Advertising: