github.com/hashicorp/terraform-plugin-sdk@v1.17.2/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  }