Terraform lifecycle ignore_changes tags
It would be nice if tags would not be set of list and will be a map, like tags for Azure resources.
In that case, you can ignore some tags by name. Like this
lifecycle {
ignore_changes = [
tags["costcenter"],
tags["environment"],
tags["projectcode"]
]
}
https://github.com/mongodb/terraform-provider-mongodbatlas/issues/2006
4
votes
Oleh
shared this idea