Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.
/ grace-tenant-cleanup Public archive

Go program to delete services from AWS accounts prior to decommissioning

License

Notifications You must be signed in to change notification settings

GSA/grace-tenant-cleanup

Repository files navigation

Archived

We're looking at using aws-nuke instead.

grace-tenant-cleanup CircleCI

Go program to delete services from AWS accounts prior to decommissioning

Supported Services

  • EC2 Instances

Usage Instructions

WARNING There are no guardrails. This program will delete all supported services with no undo or option to quit

Prerequisites

  • An AWS account in which you have access to Get, List, Describe, Terminate, Deregister and Delete the supported services.

  • Properly configured credentials for access to the AWS account. Recommend using Configuration and Credential Files

  • If you are using configuration and credential files, export AWS_SDK_LOAD_CONFIG=1

  • If you want to restrict the program to specific regions, provide a comma separated list in the regions environment variable. For example: export regions="us-east-1,us-west-1,us-west-2"

  • The Go language compiler

  • Steps to build:

    1. go get github.com/GSA/grace-tenant-cleanup
  • Steps to clean up the account:

    1. grace-tenant-cleanup

Public domain

This project is in the worldwide public domain. As stated in CONTRIBUTING:

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.

About

Go program to delete services from AWS accounts prior to decommissioning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published