Hacker News new | ask | show | jobs
by datahead 1061 days ago
How did you approach testing this? Anything to watch out for when defining abstractions? I'm following Crossplane's abstraction model.
1 comments

So we start with terraform fmt -check, terraform validate, and terraform plan.

Contract tests are used

Then we have test resources that get created, validated then instantly destroyed.

If we don’t have access to the CSP, then we can only go as far as contract tests. I can’t integrate with it live such as GCP.

Starting to look into Terratest.