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