mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-19 17:59:05 -05:00
Signed-off-by: Nathan Baulch <nathan.baulch@gmail.com> Signed-off-by: Christian Mesh <christianmesh1@gmail.com> Co-authored-by: Christian Mesh <christianmesh1@gmail.com>
12 lines
228 B
HCL
12 lines
228 B
HCL
variable "otherresourcename" {
|
|
default = "aws_instance.web1"
|
|
}
|
|
|
|
variable "variable_with_interpolation" {
|
|
default = "${var.otherresourcename}"
|
|
}
|
|
|
|
resource "aws_instance" "web" {
|
|
depends_on = ["${var.otherresourcename}}"]
|
|
}
|