We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code does not break the EOF highlighting properly:
policy = <<EOF { "Version": "2008-10-17", "Statement": [ { "Sid": "PublicReadForGetBucketObjects", "Effect": "Allow", "Principal": { "AWS": "*" }, "Action": "s3:GetObject", "Resource": "arn:aws:s3:::${var.bucket_name}/*" } ] } EOF } resource "aws_cloudfront_distribution" "distribution" {
The text was updated successfully, but these errors were encountered:
Is this still an issue in v0.9.3 of this package?
Sorry, something went wrong.
Seems to still be an issue in v0.9.7
I can relate, I recently saw this when the final EOF is not at the beginning of the line.
EOF
Reading https://www.terraform.io/language/expressions/strings#indented-heredocs I learned that for <<EOF this is expected. There is an alternative syntax of indented <<-EOF available, did you try that?
<<EOF
<<-EOF
Yep, changing to the alternative syntax works, just as removing the indented end marker.
I'll run a sed on our files to fix. Thanks!
sed
No branches or pull requests
The following code does not break the EOF highlighting properly:
Wrong Highlighting
Correct Highlighting
Removing a tab seems to fix highlighting
The text was updated successfully, but these errors were encountered: