-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Function setproduct() panics with empty sets/lists #28524
Comments
I've encountered the same issue. It seems to be a regression between 0.15.0 and 0.15.1, as using 0.15.0 works as expected. I believe it is linked to: c0328e4 Confirmed via git bisect:
I have opened an issue and a PR on go-cty: |
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. |
Terraform Version
Terraform Configuration Files
Debug Output
https://gist.github.com/peikk0/813a660c334fef294db7b12557be9048#file-debug-log
Crash Output
https://gist.github.com/peikk0/813a660c334fef294db7b12557be9048#file-crash-log
Expected Behavior
setproduct()
should not panic with empty lists or sets.Actual Behavior
setproduct()
panics with empty lists or sets.Steps to Reproduce
terraform init
terraform apply
Additional Context
References
The text was updated successfully, but these errors were encountered: