github.com/hugorut/terraform@v1.1.3/src/terraform/testdata/plan-ignore-changes-with-flatmaps/main.tf (about)

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