Terraform functions: templatefile
Jump to navigation
Jump to search
Official example[edit]
config.tftpl %{ for config_key, config_value in config } set ${config_key} = ${config_value} %{ endfor ~}
user_data = templatefile("${path.module}/assets/your_instance_data.tftpl", {})
Related[edit]
See also[edit]
Advertising: