mirror of
https://github.com/opentofu/opentofu.git
synced 2026-05-28 04:15:54 -04:00
10 lines
190 B
HCL
10 lines
190 B
HCL
resource "aws_instance" "A" {}
|
|
|
|
resource "aws_instance" "B" {
|
|
A = "${aws_instance.A.id}"
|
|
}
|
|
|
|
resource "aws_instance" "C" {
|
|
A = "${aws_instance.A.id}"
|
|
B = "${aws_instance.B.id}"
|
|
}
|