terraform-compliance / cli

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

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

Closed chrispenny closed 1 year ago

chrispenny commented 1 year 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 1 year 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 1 year 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 1 year ago

Thanks a lot for taking initiative and adding the docs!

chrispenny commented 1 year ago

My pleasure! Happy to contribute :)