Skip to content

Comment on Rethinking Infrastructure as Code from Scratchparent

Comments

How did you approach testing this? Anything to watch out for when defining abstractions? I'm following Crossplane's abstraction model.

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.