Loading...
Loading...
### Terraform Version ```shell Tried in tf 1.2.0 and 1.9.0 ``` ### Terraform Configuration Files ```terraform # in variables.tf variable "parameter_values" { description = "Parameter test." type = object({ a = string b = string }) } # in tfvars parameter_values = { a = "A" b = "B" nonexist_a = "Invalid" } ``` ### Debug Output No error or warning log. Terraform apply succeeded. ### Expected Behavior Not sure this is a bug or an intent behavior. We are expecting to get error complaining unsupported argument since nonexist_a is not declared. This would be very helpful to catch typos when input an object variable. ### Actual Behavior The input attribute name is not checked and no error reported ### Steps to Reproduce Declare an object variable and pass in the variable with invalid attribute name ### Additional Context _No response_ ### References _No response_ ### Generative AI / LLM assisted development? _No response_
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.