Skip to content

Examples

Basic usage

aws-nuke --config config.yml

Using a profile

Note

This assumes you have configured your AWS credentials file with a profile named my-profile.

aws-nuke --config config.yml --profile my-profile

Using the force flags

Danger

Running without prompts can be dangerous. Make sure you understand what you are doing before using these flags.

The following is an example of how you automate the command to run without any prompts of the user. This is useful for running in a CI/CD pipeline.

aws-nuke --config config.yml --force --force-delay 5