@grucloud/aws-nuke
v13.2.5
Published
Destroy AWS resources
Downloads
17
Readme
GruCloud AWS Nuke
gc-aws-nuke
is a command line tool to destroy over 800 AWS resources across various regions.
Requirements
Ensure the following are installed and configured properly:
Installation
Install the CLI gc-aws-nuke
globally:
npm i -g @grucloud/aws-nuke
Usage
Default Usage
Run the following command in a terminal:
gc-aws-nuke
This command attempts to delete the most common AWS resources, around 400. To delete all the resources, around 800, use the -a
option,
gc-aws-nuke -a
Specify regions
Specify one region:
gc-aws-nuke --regions us-east-1
Specify multiple regions:
gc-aws-nuke --regions us-east-1 us-west-1
Specify an AWS profile
One can specify an AWS profile to use:
gc-aws-nuke --profile my-profile
List the group of services
The groups
command list the group of the most common services
gc-aws-nuke groups
To list all supported group of resources, use the --all
option
gc-aws-nuke groups --all
AccessAnalyzer
Account
ACM
ACMPCA
Amplify
APIGateway
ApiGatewayV2
AppConfig
Appflow
AppIntegrations
ApplicationAutoScaling
ApplicationInsights
AppMesh
AppRunner
AppStream
AppSync
Aps
Athena
AuditManager
AutoScaling
AutoScalingPlans
Backup
Batch
Budgets
Cloud9
CloudFormation
CloudFront
CloudHSMV2
CloudTrail
CloudWatch
CloudWatchEvents
CloudWatchLogs
CodeArtifact
CodeBuild
CodeCommit
CodeDeploy
CodeGuruReviewer
CodePipeline
CodeStar
CodeStarConnections
CodeStarNotifications
Cognito
CognitoIdentityServiceProvider
Comprehend
Config
ControlTower
CostExplorer
CUR
DataSync
DAX
Detective
DirectConnect
DirectoryService
DMS
DocDB
DocDBElastic
DynamoDB
EC2
ECR
ECS
EFS
EKS
ElastiCache
ElasticBeanstalk
ElasticLoadBalancingV2
EMR
EMRContainers
EMRServerless
EventBridge
Evidently
Firehose
Fis
FMS
FSx
Glacier
GlobalAccelerator
Glue
Grafana
GuardDuty
IAM
IdentityStore
Imagebuilder
Inspector2
InternetMonitor
IoT
IVS
Ivschat
Kendra
Keyspaces
Kinesis
KinesisAnalyticsV2
KinesisVideo
KMS
LakeFormation
Lambda
LexModelsV2
LicenseManager
Lightsail
Location
Macie2
MediaConnect
MediaConvert
MediaLive
MediaPackage
MediaStore
MediaTailor
MemoryDB
MQ
MSK
MWAA
NetworkFirewall
NetworkManager
OAM
OpenSearch
OpenSearchServerless
Organisations
OSIS
Pinpoint
Pipes
QLDB
QuickSight
RAM
Rbin
RDS
Redshift
RedshiftServerless
Rekognition
ResilienceHub
ResourceExplorer2
ResourceGroups
RolesAnywhere
Route53
Route53Domains
Route53RecoveryControlConfig
Route53RecoveryReadiness
Route53Resolver
RUM
S3
S3Control
SageMaker
Scheduler
Schemas
SecretsManager
SecurityHub
ServiceCatalog
ServiceDiscovery
ServiceQuotas
SESV2
Shield
Signer
SNS
SQS
SSM
SSMContacts
SSMIncidents
SSOAdmin
StepFunctions
StorageGateway
Synthetics
TimestreamWrite
Transfer
VpcLattice
WAFv2
WorkSpaces
WorkSpacesWeb
XRay
Help
gc-aws-nuke --help
Options:
-V, --version output the version number
-p, --profile <string> the AWS profile (default: "default")
-r, --regions <string...> regions, for instance us-east-1
-a, --includeAllResources Destroy all known services
--includeGroups <string...> include only the group of services, for instance EC2, RDS, ECS, SSM
-h, --help display help for command
Commands:
groups|g [options] List the group of services
nuke Destroy the resources
help [command] display help for command
Contribution
Head over the GruCloud's GitHub to report a bug or a feature.