mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
For example: A => B => C (modules). If A depends on module B, then it also must depend on everything in module C.
8 lines
109 B
HCL
8 lines
109 B
HCL
module "child" {
|
|
source = "./child"
|
|
}
|
|
|
|
resource "aws_instance" "a" {
|
|
depends_on = ["module.child"]
|
|
}
|