Difference between revisions of "Terraform functions: templatefile"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
  [[config.tftpl]]
 
  [[config.tftpl]]
 
   
 
   
  %{ for config_key, config_value in config }
+
  %{ [[for]] config_key, config_value in config }
 
  set ${config_key} = ${config_value}
 
  set ${config_key} = ${config_value}
  %{ endfor ~}
+
  %{ [[endfor]] ~}
  
  
Line 22: Line 22:
 
* <code>[[user_data]]</code>
 
* <code>[[user_data]]</code>
 
* <code>[[path.module]]</code>
 
* <code>[[path.module]]</code>
 +
* <code>[[/etc/ecs/ecs.config]]</code>
 +
* <code>[[argocd_values.tftpl]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 12:39, 8 July 2024

Advertising: