ezra-buckingham / terry-the-terraformer

A CLI for deploying red team infrastructure across mutliple cloud providers, all integrated with a virtual Nebula network, and full ELK integration
https://github.com/ezra-buckingham/terry-the-terraformer/wiki
MIT License
110 stars 15 forks source link

Destroy command not working. #35

Closed leebaird closed 1 year ago

leebaird commented 1 year ago

Destroy command not working.

AWS: instances, security groups, and key pair still there. DigitalOcean: droplets still there.

root@kali:/opt/terry-the-terraformer# ./terry.py -o test4 -v destroy -r
[+] Start of script run with command: "./terry.py -o test4 -v destroy -r" [+] Destroying the "test4" plan [] Parsing the build manifest [+] Validating that we have all required credentials [+] All required credentials found [] Successfully found "terraform" binary [+] Destroying Terraform plan

Error: Missing required argument

on test4_plan.tf line 15, in provider "aws": 15: provider "aws" { }

The argument "region" is required, but no definition was found.

Error: Missing required argument

on test4_plan.tf line 16, in provider "namecheap": 16: provider "namecheap" { }

The argument "api_user" is required, but no definition was found.

Error: Missing required argument

on test4_plan.tf line 16, in provider "namecheap": 16: provider "namecheap" { }

The argument "user_name" is required, but no definition was found.

Error: Missing required argument

on test4_plan.tf line 16, in provider "namecheap": 16: provider "namecheap" { }

The argument "api_key" is required, but no definition was found. [x] Fatal Error: Error when destroying "test4". Please try again.

leebaird commented 1 year ago

Fixed.