Cloud Development Kit Toolbox
Project description
aqueduct
Installation
Requirement
AWS Command Line Interface (AWS CLI) Version 2
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
aws --version
https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
Deployment
pip install aqueduct-utility
Shell Completion
aqueduct --install-completion
IAM Identity Center
Single Sign-On
$ aqueduct login
Identity Store: portal
SSO Region: us-east-2
SSO Role: AWSAdministratorAccess
CLI Region: us-east-2
CLI Output: json
Authenticated!!
Single Sign-Out
$ aqueduct logout
Logged Out!!
Deployment
All Accounts
$ aqueduct deploy
Deploy Folder: test
Deploy [y/N]: y
--------------------------------------
Deploy AccountName 123456789012
--------------------------------------
✨ Synthesis time: 10.9s
TestStack: building assets...
[0%] start: Building 93a9449a1ac92f796d777916aae26c4c0e5740a72635c27014a56be5bcd35e4d:123456789012-us-east-2
[100%] success: Built 93a9449a1ac92f796d777916aae26c4c0e5740a72635c27014a56be5bcd35e4d:123456789012-us-east-2
TestStack: assets built
TestStack: deploying...
[0%] start: Publishing 93a9449a1ac92f796d777916aae26c4c0e5740a72635c27014a56be5bcd35e4d:123456789012-us-east-2
[100%] success: Published 93a9449a1ac92f796d777916aae26c4c0e5740a72635c27014a56be5bcd35e4d:123456789012-us-east-2
TestStack: creating CloudFormation changeset...
✅ TestStack
✨ Deployment time: 16.51s
Stack ARN:
arn:aws:cloudformation:us-east-2:123456789012:stack/TestStack/58a84490-6931-11ed-ab5a-0a2c7b97f37e
✨ Total time: 27.41s
Destruction
All Accounts
$ aqueduct destroy
Destroy Folder: test
Destroy [y/N]: y
--------------------------------------
Destroy AccountName 123456789012
--------------------------------------
TestStack: destroying...
✅ TestStack: destroyed
Hints
Common Commands
$ aqueduct hints
npm install -g aws-cdk
cdk init app --language python
python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements.txt --upgrade
echo .~c9* > ~/.gitignore
echo cdk.context.json >> ~/.gitignore
git config --global core.excludesfile ~/.gitignore
Suppression
Code Generation
https://constructs.dev/packages/cdk-nag
$ aqueduct nag
{"id":"AwsSolutions-IAM4","reason":"The IAM user, role, or group uses AWS managed policies."},
Validation
Items Checked
- Deploy Folder
- Destroy Folder
- Output Format
- SSO Active Role
Development
Local Build
python setup.py install --user
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
Built Distribution
Close
Hashes for aqueduct_utility-0.11.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 359575a49e2985cf692d9f337e4ac38193f6b595e36499dd7fa140258895465e |
|
MD5 | f18aec3ce752c7f1f1de82212ee5d8cb |
|
BLAKE2b-256 | 06157622d6454c554de9e96659b7fa6c1f8c754e7d1d15e129f68abd31518613 |