github.com/recobe182/terraform@v0.8.5-0.20170117231232-49ab22a935b7/config/test-fixtures/ignore-changes.tf (about)

     1  resource "aws_instance" "web" {
     2      ami = "foo"
     3      lifecycle {
     4          ignore_changes = ["ami"]
     5      }
     6  }
     7  
     8  resource "aws_instance" "bar" {
     9      ami = "foo"
    10      lifecycle {
    11          ignore_changes = []
    12      }
    13  }
    14  
    15  resource "aws_instance" "baz" {
    16    ami = "foo"
    17  }