pan-net / terraform-provider-powerdns

Terraform PowerDNS provider
https://www.terraform.io/docs/providers/powerdns/
Mozilla Public License 2.0
44 stars 48 forks source link

fix: move read invalid check to diffsuppressfunc #80

Closed jbe-dw closed 3 years ago

jbe-dw commented 3 years ago

Proposition to #79

The test is removed from the read function. A diffsuppressfunc is added instead:

The tests are passing now.

jbe-dw commented 3 years ago

After more tests, the DiffSupressFunc is applied on each item of the list. I believed I could check the list length but it check each item length.