-
Notifications
You must be signed in to change notification settings - Fork 509
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
Can't parse Terraform variable field: nullable
#1547
Comments
+1, I am using TERRAFORM_VERSION: '1.3.5' |
Any update? |
+1 this issue is a blocker |
Still an issue in v1.18.11 |
Still an issue v1.19.1 |
👀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
After adding nullable = false to a variable definition, terrascan can no longer parse the file.
See https://www.terraform.io/language/values/variables#disallowing-null-input-values for documentation of the field.
Here is a minimal example:
What I Did
terraform validate
,terraform plan
,terraform apply
all succeed (terraform v1.3.6)Terrascan throws variations of the following, depending on environment:
Terrascan Sandbox
Alpine/edge (gitlab runner)
Additional notes
This bug was first reported in version 1.13.2 here: #1176
It was incorrectly marked as fixed by #1211
It is still present in 1.18.0 and similar issues are found in multiple versions e.g. here: #1262
The text was updated successfully, but these errors were encountered: