mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-20 11:48:24 -06:00
9 lines
209 B
HCL
9 lines
209 B
HCL
resource "aws_vpc" "metoo" {}
|
|
resource "aws_instance" "notme" { }
|
|
resource "aws_instance" "me" {
|
|
vpc_id = "${aws_vpc.metoo.id}"
|
|
}
|
|
resource "aws_elb" "meneither" {
|
|
instances = ["${aws_instance.me.*.id}"]
|
|
}
|