mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06: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}}"]
|
|
}
|