Closed jaxonawain closed 1 year ago
Voting for Prioritization
Volunteering to Work on This Issue
Note: this issue is not specific to aws provider. I have moved to terraform support
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. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Terraform Core Version
1.3.0
AWS Provider Version
4.5.0
Affected Resource(s)
Input Variables, Local Variables
Expected Behavior
Should be able to pass in an input variable with nested configuration, and merge it into a desired set of default values for said nested configuration.
The merged result should contain the default values, with any overrides or extra configuration listed in the input variable.
This works fine, if the input variable does not have a type assigned, or is assigned
any
Actual Behavior
Once the type is specified in the variable declaration, the resulting configuration will show null values for values in final map.
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Module:
Instantiation:
Output:
WORKAROUND: Change input variable in module to specify
type = any
New Module:
Instantiation remains unchanged
Output:
scratch 2.zip
Steps to Reproduce
to
in the
module/main.tf
fileDebug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None