Difference between revisions of "Terraform functions: templatefile"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
== Official example == | == Official example == | ||
− | [[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} |
Revision as of 13:32, 17 January 2023
templatefile
https://www.terraform.io/docs/language/functions/templatefile.html
Official example
config.tftpl %{ for config_key, config_value in config } set ${config_key} = ${config_value} %{ endfor ~}
Related
See also
Advertising: