mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-01-03 16:00:57 -05:00
12 lines
228 B
HCL
12 lines
228 B
HCL
variable "otherresourcename" {
|
|
default = "aws_instance.web1"
|
|
}
|
|
|
|
variable "vairable_with_interpolation" {
|
|
default = "${var.otherresourcename}"
|
|
}
|
|
|
|
resource "aws_instance" "web" {
|
|
depends_on = ["${var.otherresourcename}}"]
|
|
}
|