Skip to content

Commit

Permalink
Add script to clean-up unused AWS EC2 Instances and VPCs
Browse files Browse the repository at this point in the history
Signed-off-by: shiva kumar <[email protected]>
  • Loading branch information
shivakunv committed Jan 7, 2025
1 parent 5b077df commit 1133795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/awscleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: |
# Find vpcs with Project holodeck and cicd Environment
vpcs=$(aws ec2 describe-vpcs \
"Name=tag:Project,Values=holodeck" "Name=tag:Environment,Values=cicd" \
--filters "Name=tag:Project,Values=holodeck" "Name=tag:Environment,Values=cicd" \
--query "Vpcs[].VpcId" \
--output text | tr -d '\r' | tr '\n' ' ')
echo "Found VPCs: $vpcs"
Expand Down

0 comments on commit 1133795

Please sign in to comment.