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
#!/usr/bin/env bash | |
set -euxo pipefail | |
# AWS endpoints | |
curl -IL https://iam.amazonaws.com | |
curl -IL https://sts.us-east-1.amazonaws.com | |
curl -IL https://s3.us-east-1.amazonaws.com | |
curl -IL https://lambda.us-east-1.amazonaws.com | |
curl -IL https://batch.us-east-1.amazonaws.com |
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
# Install aws-gc | |
Invoke-WebRequest "https://dl.cloudsmith.io/public/elastio/public/raw/versions/latest/aws-gc_x86_64-pc-windows-msvc.zip" -OutFile "aws-gc.zip"; | |
Expand-Archive -Force "aws-gc.zip"; | |
Move-Item -Force "./aws-gc/aws-gc.exe" "./aws-gc.exe"; | |
Remove-Item -Force "./aws-gc", "./aws-gc.zip"; | |
# Discover Elastio resources and run the deletion. You'll need to type "yes" to confirm the deletion | |
./aws-gc.exe destroy --tag elastio:resource=true --id-pattern elastio |
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
2022-04-23T15:24:58.3603142Z Deploying region-level stack. This might take a couple of minutes... | |
2022-04-23T15:27:39.3583660Z Initializing modules... | |
2022-04-23T15:27:39.3596271Z - region in ../modules/region | |
2022-04-23T15:27:39.3599237Z - region.account_level_outputs in ../modules/account_level_outputs | |
2022-04-23T15:27:39.3609867Z - region.inner in ../modules/region/inner | |
2022-04-23T15:27:39.3620349Z - region.inner.bg_jobs in ../modules/bg_jobs/region | |
2022-04-23T15:27:39.3653853Z - region.inner.bg_jobs.job_defs in ../modules/bg_jobs/region/job_defs | |
2022-04-23T15:27:39.3654888Z - region.inner.bg_jobs.job_defs.version in ../modules/version | |
2022-04-23T15:27:39.3670168Z - region.inner.bg_jobs.service in ../modules/aws_lambda_rust | |
2022-04-23T15:27:39.3671295Z - region.inner.bg_jobs.service.version in ../modules/version |