Add failing test replicating #4065
This commit is contained in:
parent
2304c26c10
commit
7f5f8d300d
|
@ -685,6 +685,11 @@ aws_iam_policy[policy] (x1)
|
|||
name
|
||||
path
|
||||
policy
|
||||
aws_instance[test] (x1)
|
||||
ami
|
||||
provisioners
|
||||
remote-exec
|
||||
inline
|
||||
`
|
||||
|
||||
const escapedquotesResourcesStr = `
|
||||
|
|
|
@ -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
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue