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.
- Download
aws-utilsfrom the releases - Run
aws-utils -vto check if it's working correctly. - Enjoy!
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_SYNCIf you want to build your own binarly locally, you can do that by running:
make buildWhich 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 testReport issues/questions/feature requests on in the issues section.
Full contributing guidelines are covered here.
MPL-2.0 Licensed. See LICENSE for full details.