github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/terraform/test-fixtures/plan-ignore-changes-with-flatmaps/main.tf (about)

     1  resource "aws_instance" "foo" {
     2    id = "bar"
     3    user_data = "x"
     4    require_new = "yes"
     5  
     6    set = {
     7  	  a = "1"
     8  	  b = "2"
     9    }
    10  
    11    lst = ["j", "k"]
    12  
    13    lifecycle {
    14      ignore_changes = ["require_new"]
    15    }
    16  }