Use correct for looping over map
This commit is contained in:
parent
e0322b8e07
commit
2e8ef8a4c1
4
main.tf
4
main.tf
@ -197,8 +197,8 @@ resource "null_resource" "app_provision" {
|
|||||||
|
|
||||||
provisioner "file" {
|
provisioner "file" {
|
||||||
content = <<-ENV_TMPL
|
content = <<-ENV_TMPL
|
||||||
%{for var in local.env_map~}
|
%{for key, value in local.env_map~}
|
||||||
${var.0}='${var.1}'
|
${key}='${value}'
|
||||||
%{endfor~}
|
%{endfor~}
|
||||||
ENV_TMPL
|
ENV_TMPL
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user