Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flag to disable alias requirement #983

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stefanmcshane
Copy link

@stefanmcshane stefanmcshane commented Apr 22, 2023

The requirement for an alias is arbitrary. There are many use cases where an alias is not able to be added to an account, or is pointless to do so. An example where it is a pointless requirement is when creating transient AWS sandbox accounts for development use, which must be destroyed.

The MIT license which this library is offered under, states that the library is offered as-is, with no warranties.

This PR adds a feature flag which can be added to the config.yaml (delete-accounts-without-alias) which skips the checks for an alias when deleting accounts.

For anyone who wishes to use this feature flag for testing, you can install the fork by cloning github.com/stefanmcshane/aws-nuke, checking out disable-alias and running go install

Fixes #971

@jwhitcraft
Copy link

@stefanmcshane can you rebase your branch with main?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nuke accounts without alias
2 participants