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