-
Notifications
You must be signed in to change notification settings - Fork 132
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
Support multiple validation blocks during completion for variable block #609
Comments
I imagine that this issue is in the wrong project, that the rule of there being a maximum of 1 |
Good catch - thank you for the report @seandockery You are right indeed that multiple validation blocks are allowed/expected: and you're also right about the place where this can be fixed. 😄 I just patched it upstream and raised #610 Additionally this fact also doesn't seem very obvious from the docs here: |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
The
variable
block can accept multiplevalidation
blocks in terraform files. However, after I declare avalidation
block inside avariable
block, completion in vscode does not offervalidation
again in the samevariable
block. I can work around the issue by deleting othervalidation
blocks temporarily, but it would be nice if that wasn't necessary. I am using v2.14.0 of the HashiCorp Terraform extension. Thanks!The text was updated successfully, but these errors were encountered: