github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/terraform/test-fixtures/plan-ignore-changes/main.tf (about)

     1  variable "foo" {}
     2  
     3  resource "aws_instance" "foo" {
     4    ami = "${var.foo}"
     5  
     6    lifecycle {
     7      ignore_changes = ["ami"]
     8    }
     9  }