Automate Cloud Development Kit (CDK) bootstrapping into an AWS Organization using Single Sign-On (SSO) authentication.
Project description
aqueduct
Pre-Requisites
SSO Authentication
Installation
pip install aqueduct-utility
Initial Configuration
$ aqueduct
SSO Start URL [ ]: https://portal.awsapps.com/start
SSO Region [ ]: us-east-2
SSO Role [AWSAdministratorAccess]:
CLI Region [ ]: us-east-2
CLI Output [json]:
CDK Qualifier [ ]: 4n6ir
CDK Trust [ ]: 111111111111
add -h or --help for usage help
Help Menu
$ aqueduct --h
usage: aqueduct [-h] [--addacct] [--addreg] [--addtag] [--bootstrap]
[--delacct] [--delreg] [--deltag] [--ssosetup]
aqueduct v0.0.1
optional arguments:
-h, --help show this help message and exit
--addacct Add Account
--addreg Add Region
--addtag Add Tag
--bootstrap Bootstrap CDK
--delacct Delete Account
--delreg Delete Region
--deltag Delete Tag
--ssosetup SSO Setup
Add Account
$ aqueduct --addacct
Account Name [ ]: Pipeline
Account Number [ ]: 111111111111
Add Region
$ aqueduct --addreg
Region [ ]: us-east-2
Add Tag
$ aqueduct --addtag
tag i.e. key=value: 4n6ir=4n6ir
Setup SSO Configuration
$ aqueduct --ssosetup
Sync Legacy Credentials
$ yawsso
Bootstrap CDK
$ aqueduct --bootstrap
CDK_NEW_BOOTSTRAP set, using new-style bootstrapping
⏳ Bootstrapping environment aws://111111111111/us-east-2...
Trusted accounts: 111111111111
Execution policies: arn:aws:iam::aws:policy/AdministratorAccess
cdk-bootstrap-4n6ir-111111111111-us-east-2: creating CloudFormation changeset...
[██████████████████████████████████████████████████████████] (11/11)
✅ Environment aws://111111111111/us-east-2 bootstrapped.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aqueduct-utility-0.0.2.tar.gz
(7.7 kB
view hashes)
Built Distribution
Close
Hashes for aqueduct_utility-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d1b0852500041cbf8b78b0697c9cf3c5444bb1a0158b17f351de1b83b8619d9 |
|
MD5 | d92ee97d97c0386db568ea80dcceae96 |
|
BLAKE2b-256 | ee9d7fc509b59003d7fef9f0a2a5f85dda1dd123740e52e0294b6d33bcd0a3b3 |