diff --git a/.changelog/4769.txt b/.changelog/4769.txt new file mode 100644 index 00000000000..239edf66d0e --- /dev/null +++ b/.changelog/4769.txt @@ -0,0 +1,3 @@ +```release-note:bug +dns: suppress spurious diffs due to case changes in DS records +``` diff --git a/google/resource_dns_resource_dns_record_set.go b/google/resource_dns_resource_dns_record_set.go index 2461a6898c9..24be1b4a277 100644 --- a/google/resource_dns_resource_dns_record_set.go +++ b/google/resource_dns_resource_dns_record_set.go @@ -41,7 +41,7 @@ func rrdatasDnsDiffSuppress(k, old, new string, d *schema.ResourceData) bool { case "AAAA": // parse ipv6 to a key from one list return net.ParseIP(record).String() - case "MX": + case "MX", "DS": return strings.ToLower(record) case "TXT": return strings.ToLower(strings.Trim(record, `"`))