Difference between revisions of "Terraform meta argument: count"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
* <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>
 +
 +
count = var.istest == true ? 3 : 0
  
  

Revision as of 10:51, 16 February 2022

Advertising: