config: test replicating #4079
Should help cover terraform against regression once https://github.com/hashicorp/hcl/pull/70 lands.
This commit is contained in:
parent
3cbe014e31
commit
d90eb2d88e
|
@ -685,6 +685,11 @@ aws_iam_policy[policy] (x1)
|
|||
name
|
||||
path
|
||||
policy
|
||||
aws_instance[heredocwithnumbers] (x1)
|
||||
ami
|
||||
provisioners
|
||||
local-exec
|
||||
command
|
||||
aws_instance[test] (x1)
|
||||
ami
|
||||
provisioners
|
||||
|
|
|
@ -37,3 +37,15 @@ EOT
|
|||
]
|
||||
}
|
||||
}
|
||||
|
||||
resource "aws_instance" "heredocwithnumbers" {
|
||||
ami = "foo"
|
||||
|
||||
provisioner "local-exec" {
|
||||
command = <<FOO123
|
||||
echo several
|
||||
lines
|
||||
of output
|
||||
FOO123
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue