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
Projects
Releases
Wiki
Activity
8f7807684a
terraform
/
terraform
/
testdata
/
plan-module-wrong-var-type-...
/
main.tf
4 lines
42 B
Terraform
Raw
Normal View
History
Unescape
Escape
Type check variables between modules (#6185) These tests demonstrates a problem where the types to a module input are not checked. For example, if a module - inner - defines a variable "should_be_a_map" as a map, or with a default variable of map, we do not fail if the user sets the variable value in the outer module to a string value. This is also a problem in nested modules. The implementation changes add a type checking step into the graph evaluation process to ensure invalid types are not passed.
2016-04-15 21:07:54 +02:00
module
"
middle
"
{
Upgrade to quoted keywords to error The warning about deprecation is upgraded to an error
2021-02-19 16:39:49 +01:00
source
=
"
./middle
"
Type check variables between modules (#6185) These tests demonstrates a problem where the types to a module input are not checked. For example, if a module - inner - defines a variable "should_be_a_map" as a map, or with a default variable of map, we do not fail if the user sets the variable value in the outer module to a string value. This is also a problem in nested modules. The implementation changes add a type checking step into the graph evaluation process to ensure invalid types are not passed.
2016-04-15 21:07:54 +02:00
}