diff --git a/config/loader_test.go b/config/loader_test.go index 19745adaf6bb..0ab12346072b 100644 --- a/config/loader_test.go +++ b/config/loader_test.go @@ -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 diff --git a/config/test-fixtures/heredoc.tf b/config/test-fixtures/heredoc.tf index 323d1d4e06c4..c43fd081067b 100644 --- a/config/test-fixtures/heredoc.tf +++ b/config/test-fixtures/heredoc.tf @@ -37,3 +37,15 @@ EOT ] } } + +resource "aws_instance" "heredocwithnumbers" { + ami = "foo" + + provisioner "local-exec" { + command = <