mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-17 04:03:07 -06:00
8 lines
124 B
HCL
8 lines
124 B
HCL
resource "test_instance" "foo" {
|
|
ami = "bar"
|
|
}
|
|
|
|
resource "test_instance" "bar" {
|
|
ami = "${test_instance.foo.ami}"
|
|
}
|