Skip to content

Latest commit

 

History

History
98 lines (76 loc) · 2.28 KB

README.md

File metadata and controls

98 lines (76 loc) · 2.28 KB

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.