Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resource_cloudflare_record: Add DiffSuppressFunc to value param
Fixes: #154 When a trailing period is passed to the cloudflare_record resource, we get a perpetual diff that looks as follows: ``` ~ value: "_dbdxxx05384ca.hnyhpvdqhv.acm-validations.aws" => "_dbdxxxf205384ca.hnyhpvdqhv.acm-validations.aws." ``` We should ensure that we are adhering to the following RFCs where it states that an FQDN can have a trailing `.` Therefore, we can now use a DiffSuppressFunc to check that the old value with the final `.` removed and the new value with the `.` removed are the same and if they are then we don't need to cause a diff
- Loading branch information