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 = [[length]](var.[[subnet_ids]])</code>
*<code>[[count]]                = var.[[vpc_cidr_block]] != null ? 1 : 0</code>
+
* <code>[[count]]                = var.[[vpc_cidr_block]] != null ? 1 : 0</code>
 +
 
 +
 
 +
Terraform does not allow to use count inside module block
  
 
== See also ==
 
== See also ==

Revision as of 03:26, 16 February 2022

Advertising: