mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Merge pull request #4078 from hashicorp/b-heredoc-lists
Add failing test replicating #4065
This commit is contained in:
commit
6d4ddfa877
@ -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
Block a user