Someone edits this resource's tags in the cloud console. What does the next plan do?
lifecycle {
ignore_changes = [tags]
}
- Leaves the edited tags in place
- Reverts the tags to the config
- Destroys and recreates the resource
- Fails until the tags are restored
ignore_changes tells Terraform not to plan updates for the listed attributes, so drift in tags (and edits to tags in the config) no longer produce a diff.
Play DevOps ▸