Skip to content
New issue

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

document some hcl2 quarks #9545

Merged
merged 1 commit into from
Dec 7, 2020
Merged

document some hcl2 quarks #9545

merged 1 commit into from
Dec 7, 2020

Conversation

notnoop
Copy link
Contributor

@notnoop notnoop commented Dec 7, 2020

Mainly note that block labels need to be string literals, and that decimals without a leading significant digits aren't acceptable anymore (e.g. .9 are required to be 0.9).

Dynamic blocks can be used here, but feels too much of a hack, or a hammer to highlight it here, specially given the error reporting and debugging isn't so straightforward. I'd advocate internally for relaxing the restriction and allowing expressions in block labels instead.

Related to #9522 .

@notnoop notnoop requested review from tgross and cgbaker December 7, 2020 16:59
@notnoop notnoop self-assigned this Dec 7, 2020
@notnoop notnoop merged commit 6b43ecb into master Dec 7, 2020
@notnoop notnoop deleted the docs-hcl2-doc-restrictions branch December 7, 2020 17:31
@github-actions
Copy link

github-actions bot commented Dec 7, 2022

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants