This website requires JavaScript.
Explore
Help
Sign In
ResiLien
/
terraform
Watch
2
Star
0
Fork
You've already forked terraform
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
a37d47e955
terraform
/
internal
/
command
/
testdata
/
import-module-input-variable
/
terraform.tfvars
2 lines
31 B
Plaintext
Raw
Normal View
History
Unescape
Escape
terraform: Eval module call arguments for import Include the import walk in the list of operations for which we create an EvalModuleCallArgument node. This causes module call arguments to be evaluated even if the module variables have defaults, ensuring that invalid default values (such as the common "{}" for variables thought of as maps) do not cause failures specific to import. This fixes a bug where a child module evaluates an input variable in its locals block, assuming that it is a nested object structure. The bug report includes a default value of "{}", which is overridden by a root variable value. Without the eval node added in this commit, the default value is used and the local evaluation errors.
2020-08-17 23:03:25 +02:00
foo = { bar = { baz = true } }