mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-01-20 23:00:34 -05:00
23 lines
353 B
HCL
23 lines
353 B
HCL
resource "aws_vpc" "me" {}
|
|
|
|
resource "aws_subnet" "me" {
|
|
depends_on = [
|
|
aws_vpc.me,
|
|
]
|
|
}
|
|
|
|
resource "aws_instance" "me" {
|
|
depends_on = [
|
|
aws_subnet.me,
|
|
]
|
|
}
|
|
|
|
resource "aws_vpc" "notme" {}
|
|
resource "aws_subnet" "notme" {}
|
|
resource "aws_instance" "notme" {}
|
|
resource "aws_instance" "notmeeither" {
|
|
depends_on = [
|
|
aws_instance.me,
|
|
]
|
|
}
|