salesforce/cloud-guardrails

Automation: Terratest to validate the Terraform output?

kmcquade opened this issue · 2 comments

We should explore using Terratest to validate the Terraform output.

I did some of this with https://github.com/bridgecrewio/python-hcl2. It mostly just verifies the quality of the output - i.e., validating the policy IDs.

Closing because I addressed the basics of this in be34b2f. We also include terraform validate in the GitHub Actions tests.