https://github.com/crowdsecurity/tf_policies_generator
Terraform policies generator from terraform plan json
https://github.com/crowdsecurity/tf_policies_generator
Last synced: about 1 year ago
JSON representation
Terraform policies generator from terraform plan json
- Host: GitHub
- URL: https://github.com/crowdsecurity/tf_policies_generator
- Owner: crowdsecurity
- License: mit
- Created: 2023-05-25T10:19:12.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-27T13:37:33.000Z (over 2 years ago)
- Last Synced: 2025-03-01T16:39:21.746Z (over 1 year ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 10
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform Policies generator
This tool generates policies from a Terraform plan for Continuous Deployment using OIDC.
Related [blog post](https://www.crowdsec.net/blog/a-guide-to-continuous-deployment)
## Install
```
pip install git+https://github.com/crowdsecurity/tf_policies_generator
```
## Usage
```
terraform plan -out plan.out
terraform show -no-color -json plan.out > output.json
tf_policies_generator -f output.json
```