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]
*.tftpl- Terraform functions: file
map- Terraform provider: template (Deprecated)
user_datapath.module/etc/ecs/ecs.configargocd_values.tftpl- local_file
See also[edit]
user_data, .tftpl, templatefile- templatefile, .tfpl
- Terraform functions, Terraform collection functions:
tolist,toset,length,sum,file,join,depends_on,zipmap,replace,lookup,read files,concat,merge, templatefile, for_each, format, element, slice, try, filebase64, upper, filemd5, coalesce, formatlist, flatten, sensitive, tonumber, jsondecode, yamldecode, pathexpand - Templates
Advertising: