Difference between revisions of "Terraform meta argument: count"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
* https://www.terraform.io/docs/language/meta-arguments/count.html
 
* https://www.terraform.io/docs/language/meta-arguments/count.html
  
 
+
*<code>count = [[length]](var.[[subnet_ids]])</code>
 
+
*<code>[[count]]                = var.[[vpc_cidr_block]] != null ? 1 : 0</code>
count = [[length]](var.[[subnet_ids]])
 
 
 
[[count]]                = var.[[vpc_cidr_block]] != null ? 1 : 0
 
  
 
== See also ==
 
== See also ==

Revision as of 10:08, 14 September 2021

Advertising: