mirror of
https://github.com/hashicorp/terraform.git
synced 2026-02-20 00:13:30 -05:00
Unless a user specifically requests a real operation graph using the -type option, we'll by default present a simplified graph which only represents the relationships between resources, since resources are the main side-effects and so the ordering of these is more interesting than the ordering of Terraform's internal implementation details.
20 lines
236 B
HCL
20 lines
236 B
HCL
resource "foo" "bar" {
|
|
}
|
|
|
|
locals {
|
|
foo_bar_baz = foo.bar.baz
|
|
}
|
|
|
|
resource "foo" "baz" {
|
|
arg = local.foo_bar_baz
|
|
}
|
|
|
|
module "child" {
|
|
source = "./child"
|
|
|
|
in = local.foo_bar_baz
|
|
}
|
|
|
|
resource "foo" "boop" {
|
|
arg = module.child.out
|
|
}
|