github.com/hugorut/terraform@v1.1.3/src/terraform/testdata/apply-ignore-changes-create/main.tf (about)

     1  resource "aws_instance" "foo" {
     2    required_field = "set"
     3  
     4    lifecycle {
     5      ignore_changes = ["required_field"]
     6    }
     7  }