mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
This extends the prior commit to also verify (and fix) that resources of dependent providers are destroyed first even when they're within modules.
10 lines
132 B
HCL
10 lines
132 B
HCL
resource "vault_instance" "foo" {}
|
|
|
|
provider "aws" {
|
|
addr = "${vault_instance.foo.id}"
|
|
}
|
|
|
|
module "child" {
|
|
source = "./child"
|
|
}
|