github.com/paybyphone/terraform@v0.9.5-0.20170613192930-9706042ddd51/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  }