mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06: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,
|
|
]
|
|
}
|