Hi all, I’m starting out on
a native provider for Microsoft’s SQL Server database. I didn’t find a Terraform one to build on with the bridge, which the Postgres and MySQL ones both do, so I’m flying blind a bit. I’ve got myself up and running with the boilerplate repo, which is pretty neat! Thank you for providing this resource, it’s a massive leg up 💜
I’ve some questions now I’ve got further into the development process…
Are there any tests you run against a provider to validate its behaviour before adopting it? It would be really useful if the boilerplate repo came with something like this, so I know what the expected contract/behaviour is.
Straight out of the gate I need to handle config for the provider (so it knows which database host to connect to and how, etc.) but info on this seems to be buried deep in the documentation. How do I implement, e.g.,
CheckConfig()
? How do I know if the values provided to
CheckConfig
were previously processed by it? (So the method can be skipped)