Created
March 10, 2023 14:08
-
-
Save rudolphjacksonm/cda182f709f91c10394299df8a81123b to your computer and use it in GitHub Desktop.
Script for creating workloads in the AWS Well-Architected Tool
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
source config/test_workload.env | |
source helpers/lib.sh | |
main() { | |
aws wellarchitected create-workload \ | |
--account-ids "${ACCOUNT_IDS}" \ | |
--architectural-design "${ARCHITECTURAL_DESIGN}" \ | |
--aws-regions "eu-west-1" "eu-west-2" \ | |
--description "${DESCRIPTION}" \ | |
--environment "${ENVIRONMENT}" \ | |
--industry "${INDUSTRY}" \ | |
--industry-type "${INDUSTRY_TYPE}" \ | |
--lenses $LENSES \ | |
--pillar-priorities $PILLAR_PRIORITIES \ | |
--review-owner "${REVIEW_OWNER}" \ | |
--workload-name "${WORKLOAD_NAME}" | |
} | |
main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment