Skip to content

AWS Utils CLI - making complex tasks simpler and quicker

License

Notifications You must be signed in to change notification settings

mbevc1/aws-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build

aws-utils

AWS Utils CLI - making complex tasks simpler and quicker

This is a simple CLI tool to help with some common AWS tasks. It's aiming to simplify and make some taks quicker by abstracting underlying steps or complexity.

e.g. deleting an AWS account is a single step and includes both: terminating AWS Control Tower Catalog product and closing the account itself.

Installing

  1. Download aws-utils from the releases
  2. Run aws-utils -v to check if it's working correctly.
  3. Enjoy!

Usage

Simply run the binary like:

# aws-utils lz desc

Using region: eu-west-1
-------------------------------
List of deployed Landing Zones:
-------------------------------
ARN: arn:aws:controltower:eu-west-1:123456789012:landingzone/12JZIC8A68Y3AAAA
Version: 3.3
LatestAvailableVersion: 3.3
Manifest:
{
  "accessManagement": {
    "enabled": true
  },
  "centralizedLogging": {
    "accountId": "123456789012",
    "configurations": {
      "accessLoggingBucket": {
        "retentionDays": "3650"
      },
      "loggingBucket": {
        "retentionDays": "365"
      }
    },
    "enabled": true
  },
  "governedRegions": [
    "eu-west-1"
  ],
  "organizationStructure": {
    "sandbox": {
      "name": "Custom"
    },
    "security": {
      "name": "Core"
    }
  },
  "securityRoles": {
    "accountId": "123456789013"
  }
}
Status: ACTIVE
DriftStatus: IN_SYNC

Building

If you want to build your own binarly locally, you can do that by running:

make build

Which should produce a locally binary to run. You'll need Golang compiler.

To run tests there is a Makefile target for that as well:

make test

Contributing

Report issues/questions/feature requests on in the issues section.

Full contributing guidelines are covered here.

Authors

License

MPL-2.0 Licensed. See LICENSE for full details.

About

AWS Utils CLI - making complex tasks simpler and quicker

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published