mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-24 07:26:26 -06:00
10 lines
221 B
Terraform
10 lines
221 B
Terraform
|
resource "aws_vpc" "metoo" {}
|
||
|
resource "aws_instance" "notme" { }
|
||
|
resource "aws_instance" "me" {
|
||
|
vpc_id = "${aws_vpc.metoo.id}"
|
||
|
count = 3
|
||
|
}
|
||
|
resource "aws_elb" "meneither" {
|
||
|
instances = ["${aws_instance.me.*.id}"]
|
||
|
}
|