mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
11 lines
190 B
HCL
11 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}"
|
|
}
|