Rendering Config Files
Where should a 40-line cloud-init template with loops live?
Choose one answer
Inline in a <<EOT heredoc inside the resource.
<<EOT
In a variable default, using one replace() call for each value to fill in.
replace()
In a local_file data source with format() calls.
local_file
format()
In a .tftpl file rendered with templatefile.
.tftpl
templatefile