Terraform functions: templatefile
(Redirected from Templatefile)
Jump to navigation
Jump to search
templatefile
https://www.terraform.io/docs/language/functions/templatefile.html
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]
*.tftpl
- Terraform functions: file
map
- Terraform provider: template (Deprecated)
user_data
path.module
/etc/ecs/ecs.config
argocd_values.tftpl
See also[edit]
Advertising: