terraform-compliance / cli

a lightweight, security focused, BDD test framework against terraform.
https://terraform-compliance.com
MIT License
1.34k stars 151 forks source link

Question: Using Terraform Compliance in CircleCI with Terraform and Python Orbs #718

Closed chrispenny closed 9 months ago

chrispenny commented 9 months ago

Firstly, just let me say: Great project!

Question

Would some documentation regarding how you might use Terraform Compliance within CircleCI be desired?

Being new to Terraform, I found it to be a bit of a struggle to figure out, and I didn't really find any great (single) resource online on how to get them working together. I've since managed to get everything working using the following CircleCI Orbs:

I would be happy to contribute some documentation/examples, if you'd like them.

If you would like them, where in the docs directory would you like them located?

eerkunt commented 9 months ago

Hello @chrispenny, thanks for the kind words.

Documentation would be great! I think we can create a new section called, "Using in CI/CD" and we can just start with CircleCI under that.

Thanks a lot for supporting the project!

chrispenny commented 9 months ago

I've raised a Pull Request to add the documentation. I ended up switching to GitHub Actions, so I was actually able to cover both GitHub and CircleCI 😄

eerkunt commented 9 months ago

Thanks a lot for taking initiative and adding the docs!

chrispenny commented 9 months ago

My pleasure! Happy to contribute :)