Skip to main content

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

** INSTALLATION **

npm install -g aws-cdk
npm install -g npm@9.6.7
npm install -g node@18.0.0 --force

** APPLICATION **

cdk init app --language python
python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements.txt --upgrade

** GITIGNORE **

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

Development

Local Build
python setup.py install --user

Project details


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.12.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

aqueduct_utility-0.12.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file aqueduct-utility-0.12.0.tar.gz.

File metadata

  • Download URL: aqueduct-utility-0.12.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for aqueduct-utility-0.12.0.tar.gz
Algorithm Hash digest
SHA256 6ccf5efc7b77f60267279a8be7f883618b28645d06ba09d6e193a9eb43e85b24
MD5 47eedeacd1de8bfbb52d728076c0bd82
BLAKE2b-256 0ccb82fcf0a898c414edbd4c144c2187a119b49b86376ee8118a9eceb3c469f5

See more details on using hashes here.

File details

Details for the file aqueduct_utility-0.12.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aqueduct_utility-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 125b34fd01c1f9ceecb153d7bbdc15ac6fbf11d076b6748d3137afebeec3968b
MD5 9d08563f0826e85a9756c5f01a732c99
BLAKE2b-256 bac69e2bca15b5e4db8331b38f291c5749abe5307b9ea8f039b1b3a9bab6a8b1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page