You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.
Ensure you have latest version of plugin installed
Search for possible issue duplicates
Installation details
IDE version (Help->About->Copy to Clipboard)
GoLand 2018.2.2
Build #GO-182.4129.57, built on August 23, 2018
Licensed to someone
Subscription is active until May 21, 2019
JRE: 1.8.0_152-release-1248-b8 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.12.6
intellij-hcl plugin version (Settings->Plugins)
0.6.12
The output block at the bottom of the config should be formatted correctly. If I move it about the resource block (eg before the heredoc block) it is formatted correctly.
Actual Behavior
What actually happened?
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
Create config with a <<EOF...EOF block that also has additional config after it, the config after won't be formatted correctly.
Interesting that the github code formatting has the same formatting problem.
The text was updated successfully, but these errors were encountered:
However it seems to be valid syntax without the new line, as far as terraform is concerned (it runs it without complaining), and terraform fmt doesn't correct it. Happy to close though.
That was actually a bug in hcl parser itself, resolved in hashicorp/hcl#245
AFAIU future versions of Terraform would not support that syntax as it contradicts usual 'heredoc' definition used in bash, etc.
Prerequisites
Installation details
IDE version (
Help->About->Copy to Clipboard
)GoLand 2018.2.2
Build #GO-182.4129.57, built on August 23, 2018
Licensed to someone
Subscription is active until May 21, 2019
JRE: 1.8.0_152-release-1248-b8 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.12.6
intellij-hcl plugin version (
Settings->Plugins
)0.6.12
Terraform version (
terraform -v
)v0.11.7
Terraform Configuration Files
Expected Behavior
What should have happened?
The
output
block at the bottom of the config should be formatted correctly. If I move it about theresource
block (eg before the heredoc block) it is formatted correctly.Actual Behavior
What actually happened?
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
Create config with a
<<EOF...EOF
block that also has additional config after it, the config after won't be formatted correctly.Interesting that the github code formatting has the same formatting problem.
The text was updated successfully, but these errors were encountered: