Merge pull request #20619 from hashicorp/d-provisioners-local-exec
provisioners/local-exec: Fix map syntax for 0.12
This commit is contained in:
commit
ec9a4b7dae
|
@ -81,7 +81,7 @@ resource "aws_instance" "web" {
|
||||||
provisioner "local-exec" {
|
provisioner "local-exec" {
|
||||||
command = "echo $FOO $BAR $BAZ >> env_vars.txt"
|
command = "echo $FOO $BAR $BAZ >> env_vars.txt"
|
||||||
|
|
||||||
environment {
|
environment = {
|
||||||
FOO = "bar"
|
FOO = "bar"
|
||||||
BAR = 1
|
BAR = 1
|
||||||
BAZ = "true"
|
BAZ = "true"
|
||||||
|
|
Loading…
Reference in New Issue