shellfirm
shellfirm copied to clipboard
Terraform
List of possible risky patterns:
-
terraform apply
- with flag -auto-approve -
terraform force-unlock
- with flag -force -
terraform state mv
- without dryrun flag https://www.terraform.io/cli/commands/state/mv -
terraform state replace-provider
- with -auto-approve -
terraform state rm
- without -dry-run -
terraform workspace delete
- with -force
If this hasn't been picked up yet, could I be assigned to it? 👀
sure, go ahead thank you. Let me know if you needs my assist.
Hey @inFocus7 I summarize the risky patterns in Terraform and replace the issue description. WDYT?
That sounds good! I'm working on a new branch off of the main repo right now. Is that fine? Or should I create a fork?
You need to fork this repo(until you become a core committer 😀 )
don't forget to add the documentation in two places:
- https://github.com/kaplanelad/shellfirm#risky-commands
- https://github.com/kaplanelad/shellfirm/tree/main/docs/checks
Hey @inFocus7, Do you want to give me an example of your regex problem? i can help you to finish this PR regex example: ____ prompt command: ____ ignore prompt command: ____