mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-30 10:47:14 -06:00
8 lines
131 B
HCL
8 lines
131 B
HCL
resource "test_instance" "foo" {
|
|
ami = "bar"
|
|
}
|
|
|
|
resource "test_instance" "bar" {
|
|
ami = "${test_instance.foo.ami}"
|
|
}
|