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
Proper HCL hash blocks documented from Hashicorp are flagged as an error.
Create a block like this below:
boot_disk { initialize_params { image = "debian-cloud/debian-8" } }
This snippet came from: https://www.terraform.io/docs/providers/google/r/compute_instance.html
The second brace after initialize_params is highlighted in red.
initialize_params
The second parameter would not be flagged and highlighted. There is an implicit equals in the current HCL language.
You have to explicitly add the =. This will make the code inconsistent with current Hashicorp documentation.
=
boot_disk { initialize_params = { image = "debian-cloud/debian-8" } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Proper HCL hash blocks documented from Hashicorp are flagged as an error.
STEPS
Create a block like this below:
This snippet came from: https://www.terraform.io/docs/providers/google/r/compute_instance.html
ACTUAL RESULTS
The second brace after
initialize_params
is highlighted in red.EXPECTED RESULTS
The second parameter would not be flagged and highlighted. There is an implicit equals in the current HCL language.
WORKAROUND
You have to explicitly add the
=
. This will make the code inconsistent with current Hashicorp documentation.The text was updated successfully, but these errors were encountered: