12 lines
228 B
Terraform
12 lines
228 B
Terraform
|
variable "otherresourcename" {
|
||
|
default = "aws_instance.web1"
|
||
|
}
|
||
|
|
||
|
variable "vairable_with_interpolation" {
|
||
|
default = "${var.otherresourcename}"
|
||
|
}
|
||
|
|
||
|
resource "aws_instance" "web" {
|
||
|
depends_on = ["${var.otherresourcename}}"]
|
||
|
}
|