Difference between revisions of "Terraform conditional expressions"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
* https://www.terraform.io/docs/language/expressions/conditionals.html
+
https://www.terraform.io/docs/language/expressions/conditionals.html
  
*<code>condition ? true_val : false_val</code>
+
* <code>condition ? true_val : false_val</code>
  
*<code>[[count]]                = var.[[vpc_cidr_block]] != null ? 1 : 0</code>
+
* <code>[[count]]                = var.[[vpc_cidr_block]] != null ? 1 : 0</code>
  
 
== See also ==
 
== See also ==

Revision as of 17:29, 21 October 2021

Advertising: