Skip to content

Commit

Permalink
Clean up ECR Repo per Connector if exits
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdulRehman Faraj committed Jan 23, 2025
1 parent cd2fa85 commit 8fe16ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions validation_testing/run_cleanup_infra.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ fi
cd $(dirname $(find . -name ATHENA_INFRA_SPINUP_ROOT))/app;
prefix="${CONNECTOR_NAME}CdkStack"

#### Clean up ECR Repo
echo "Deleting athena-federation-repository-${CONNECTOR_NAME} ECR Repo"
aws ecr delete-repository --repository-name "athena-federation-repository-${CONNECTOR_NAME}" --force

#### Finall destroy the stack
npm install;
npm run build;
npm run cdk synth;
Expand Down

0 comments on commit 8fe16ae

Please sign in to comment.