Difference between revisions of "Terraform functions: templatefile"

From wikieduonline
Jump to navigation Jump to search
Line 11: Line 11:
 
  set ${config_key} = ${config_value}
 
  set ${config_key} = ${config_value}
 
  %{ endfor ~}
 
  %{ endfor ~}
 +
 +
 +
  [[user_data]]                  = templatefile("${[[path.module]]}/assets/your_instance_data[[.tftpl]]", {})
  
 
== Related ==
 
== Related ==

Revision as of 17:31, 6 April 2023

Advertising: