mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
6 lines
100 B
HCL
6 lines
100 B
HCL
resource "aws_instance" "web" {}
|
|
|
|
resource "aws_instance" "db" {
|
|
ami = "${aws_instance.web.id}"
|
|
}
|