Skip to content

Commit

Permalink
Merge pull request #4128 from hashicorp/phinze/test-heredoc-id-with-n…
Browse files Browse the repository at this point in the history
…umbers

config: test replicating #4079
  • Loading branch information
jen20 committed Dec 1, 2015
2 parents 3cbe014 + d90eb2d commit 7971042
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/loader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 12 additions & 0 deletions config/test-fixtures/heredoc.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,15 @@ EOT
]
}
}

resource "aws_instance" "heredocwithnumbers" {
ami = "foo"

provisioner "local-exec" {
command = <<FOO123
echo several
lines
of output
FOO123
}
}

0 comments on commit 7971042

Please sign in to comment.