Merge pull request #4078 from hashicorp/b-heredoc-lists

Add failing test replicating #4065
This commit is contained in:
James Nugent 2015-11-29 11:34:41 +00:00
commit 6d4ddfa877
2 changed files with 20 additions and 0 deletions

View File

@ -685,6 +685,11 @@ aws_iam_policy[policy] (x1)
name
path
policy
aws_instance[test] (x1)
ami
provisioners
remote-exec
inline
`
const escapedquotesResourcesStr = `

View File

@ -22,3 +22,18 @@ resource "aws_iam_policy" "policy" {
}
EOF
}
resource "aws_instance" "test" {
ami = "foo"
provisioner "remote-exec" {
inline = [
<<EOT
sudo \
A=val \
B=val2 \
sh script.sh
EOT
]
}
}