mirror of https://github.com/hashicorp/terraform
This is the limitation of all lifecycle attributes currently. Right now, interpolations are allowed through and the user ends up thinking it should work. We should give an error. In the future it should be possible to support some minimal set of interpolations (static variables, data sources even perhaps) but for now let's validate that this doesn't work.pull/9576/head
parent
fa9758e162
commit
694b16de5d
@ -0,0 +1,7 @@
|
||||
variable "foo" {}
|
||||
|
||||
resource aws_instance "web" {
|
||||
lifecycle {
|
||||
ignore_changes = ["${var.foo}"]
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue