This file contains hidden or 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
| # ============================================================ | |
| # AWS Credits - Standalone Terraform | |
| # Run locally to trigger the 5 Explore AWS credit activities. | |
| # | |
| # Usage: | |
| # cd scripts/aws-credits | |
| # terraform init | |
| # terraform apply | |
| # terraform destroy ← run once credits are awarded | |
| # |
This file contains hidden or 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
| echo "Exporting environment variables from env.variables section of $1" | |
| export $( | |
| cat "$1" | | |
| shyaml get-values-0 env.variables | | |
| while IFS='' read -r -d '' key && IFS='' read -r -d '' value; do | |
| echo $key=$value | |
| done | |
| ) |