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.3
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.3.tar.gz
(7.7 kB
view hashes)
Built Distribution
Close
Hashes for aqueduct_utility-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 866928bb008987ec9c8d20b46cb731b0234b9cb4196b77591bf532810a42b7cd |
|
MD5 | 0460ec087f80dfef0e901a48a0bc011c |
|
BLAKE2b-256 | 87e25a2a34defa146900d6b522648e832ba8ed25c4c37c5905071ed3ce24dd49 |