core: Update test fixtures for ProviderTransformer tests

Some of these tests were using an outdated form to reference a local
directory as a module. While here, I also updated the provider references
to the new unquoted form, which is preferred from v0.12 onwards.
This commit is contained in:
Martin Atkins 2018-05-07 18:28:10 -07:00
parent 37dfda93ce
commit 604c347128
6 changed files with 8 additions and 8 deletions

View File

@ -5,6 +5,6 @@ provider "aws" {
module "grandchild" {
source = "./grandchild"
providers = {
"aws.baz" = "aws.bar"
aws.baz = aws.bar
}
}

View File

@ -4,8 +4,8 @@ provider "aws" {
}
module "child" {
source = "child"
source = "./child"
providers = {
"aws.bar" = "aws.foo"
aws.bar = aws.foo
}
}

View File

@ -5,6 +5,6 @@ provider "aws" {
module "mod" {
source = "./mod"
providers = {
"aws" = "aws.foo"
aws = aws.foo
}
}

View File

@ -3,5 +3,5 @@ provider "aws" {
}
resource "aws_instance" "thing" {
provider = "aws.bar"
provider = aws.bar
}

View File

@ -4,8 +4,8 @@ provider "aws" {
}
module "child" {
source = "child"
source = "./child"
providers = {
"aws.bar" = "aws.foo"
aws.bar = aws.foo
}
}

View File

@ -6,6 +6,6 @@ module "mod" {
# aws.foo doesn't exist, and should report an error
providers = {
"aws" = "aws.foo"
aws = aws.foo
}
}