mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
core: Partially fix TestContext2Apply_resourceDependsOnModule
Some earlier updates to it changed some things in our expected state string. This doesn't fully fix it since there seems to still be a bug related to recording dependencies.
This commit is contained in:
parent
0039d3dbf3
commit
3b7a814c51
@ -793,6 +793,8 @@ const testTerraformApplyResourceDependsOnModuleStr = `
|
|||||||
aws_instance.a:
|
aws_instance.a:
|
||||||
ID = foo
|
ID = foo
|
||||||
provider = provider.aws
|
provider = provider.aws
|
||||||
|
ami = parent
|
||||||
|
type = aws_instance
|
||||||
|
|
||||||
Dependencies:
|
Dependencies:
|
||||||
module.child
|
module.child
|
||||||
@ -801,6 +803,8 @@ module.child:
|
|||||||
aws_instance.child:
|
aws_instance.child:
|
||||||
ID = foo
|
ID = foo
|
||||||
provider = provider.aws
|
provider = provider.aws
|
||||||
|
ami = child
|
||||||
|
type = aws_instance
|
||||||
`
|
`
|
||||||
|
|
||||||
const testTerraformApplyResourceDependsOnModuleDeepStr = `
|
const testTerraformApplyResourceDependsOnModuleDeepStr = `
|
||||||
|
Loading…
Reference in New Issue
Block a user