mirror of https://github.com/hashicorp/terraform
fix: validate implied provider names in submodules (#31573)
parent
fbda4382f3
commit
fc62afb6dc
@ -0,0 +1,14 @@
|
||||
{
|
||||
"Modules": [
|
||||
{
|
||||
"Key": "test",
|
||||
"Source": "./sub",
|
||||
"Dir": "testdata/invalid-names-in-submodules/sub"
|
||||
},
|
||||
{
|
||||
"Key": "",
|
||||
"Source": "",
|
||||
"Dir": "."
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
module "test" {
|
||||
source = "./sub"
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
resource "aws-_foo" "test" {
|
||||
|
||||
}
|
||||
|
||||
data "aws-_bar" "test" {
|
||||
|
||||
}
|
||||
Loading…
Reference in new issue