fix apply tests

sSme apply tests had outputs in empty modules, which won't be saved to
state.
This commit is contained in:
James Bardin
2020-05-25 16:11:37 -04:00
parent 48757bcbe0
commit 70ac00595b
2 changed files with 0 additions and 18 deletions

View File

@@ -8980,12 +8980,6 @@ Outputs:
result_1 = hello
result_3 = hello world
module.child:
<no state>
Outputs:
result = hello
`)
if got != want {
t.Fatalf("wrong final state\ngot:\n%s\nwant:\n%s", got, want)

View File

@@ -441,12 +441,6 @@ const testTerraformApplyEmptyModuleStr = `
Outputs:
end = XXXX
module.child:
<no state>
Outputs:
aws_route53_zone_id = XXXX
`
const testTerraformApplyDependsCreateBeforeStr = `
@@ -661,12 +655,6 @@ aws_instance.bar:
provider = provider["registry.terraform.io/hashicorp/aws"]
foo = true
type = aws_instance
module.child:
<no state>
Outputs:
leader = true
`
const testTerraformApplyModuleDestroyOrderStr = `