terraform/internal/command/testdata/graph-interesting/graph-interesting.tf
Martin Atkins 844b1616e8 command/graph: Simpler resource-only graph by default
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.
2023-11-28 13:48:48 -08:00

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
}