namecheap / terraform-provider-namecheap

Terraform provider for Namecheap
Apache License 2.0
147 stars 30 forks source link

Improve CAA record handling #66

Closed ptous closed 1 year ago

ptous commented 2 years ago

This PR aims to address two issues I ran into attempting to create CAA records with the Provider. Feel free to use it as idea fodder rather than merging it directly. (See especially the 2nd bullet under "What I Changed" below.)

What I wanted to fix

What I changed

This PR contains what seemed like minimal changes needed to address these issues.

Did I test this?

Yes. I modified the tests so go test will pass with the changes to fixCAAIodefAddressValue(). I also added new test cases for the expanded use.

Additionally, I tested the provider locally and verified the following:

ptous commented 2 years ago

The forced pushes were to add sign-off (for DCO) and then to fix the email on my commit to match the key I signed it with. :stuck_out_tongue:

psa commented 1 year ago

@alexvlasov Can this please be merged?