Closed ecomba closed 3 years ago
This was quite a learning process to me as I did not understand how the terraform testing cycle really works.
If you look at the test method that tests the creation of the domain there is only a call to GetDomain
to verify that there is no error. This is because due to some voodoo magic in the testing framework the right function to create the domain will be called anyways... 🤷🏼 It took me quite some time to figure this out, but now I do understand how this works 🥳
WDYT about adding this to https://github.com/dnsimple/terraform-provider-dnsimple/blob/master/example/simple.tf
Yes, I can definitely do that, thanks for reminding me!
Adds the capability to create a new domain in DNSimple.
Closes #39