github.com/burmuley/terraform@v0.11.12-beta1/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  }