Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SOA to root-level record deletion exception
When trying to delete record-sets that are managed by terraform, some record types can't be deleted by DNS and API restrictions. (It doesn't make sense to delete the Start Of Authority (SOA) or root-level NS records by themselves as they're fundamental to the zone construct – their value can be changed, but they must exist for the zone itself to exist.) The code previously only pretended deletes for root-level NS records. This change adds SOA to that behavior so that terraform delete/destroy can function properly when SOA is managed. See issue hashicorp/terraform-provider-google#12827
- Loading branch information