Add failing test replicating #4065

This commit is contained in:
James Nugent 2015-11-25 20:50:16 +02:00
parent 2304c26c10
commit 7f5f8d300d
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
]
}
}