Difference between revisions of "Terraform functions: templatefile"

From wikieduonline
Jump to navigation Jump to search
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]] ~}
  
  

Revision as of 19:22, 28 May 2023

Advertising: