mirror of https://github.com/hashicorp/terraform
Merge pull request #1015 from hashicorp/b-depends-on-var
config: depends on cannot contain interpolations [GH-985]pull/1017/head
commit
a31f2a276b
@ -0,0 +1,7 @@
|
||||
variable "foo" {
|
||||
description = "bar"
|
||||
}
|
||||
|
||||
resource aws_instance "web" {
|
||||
depends_on = ["${var.foo}"]
|
||||
}
|
||||
Loading…
Reference in new issue