Use correct for looping over map

This commit is contained in:
Dan Buch 2020-02-11 22:01:32 -05:00
parent e0322b8e07
commit 2e8ef8a4c1
Signed by: meatballhat
GPG Key ID: 9685130D8B763EA7

View File

@ -197,8 +197,8 @@ resource "null_resource" "app_provision" {
provisioner "file" {
content = <<-ENV_TMPL
%{for var in local.env_map~}
${var.0}='${var.1}'
%{for key, value in local.env_map~}
${key}='${value}'
%{endfor~}
ENV_TMPL