keycloak / keycloak-benchmark

Keycloak Benchmark
https://www.keycloak.org/keycloak-benchmark/
Apache License 2.0
124 stars 66 forks source link

add new delete check for db-subnet-groups #836

Closed kami619 closed 1 month ago

kami619 commented 1 month ago

fixes #835

Sample output of the script from my local.

> ./aws_check_subnet_groups.sh
Looking in AWS Region: ap-northeast-1
Looking in AWS Region: ap-northeast-2
Looking in AWS Region: ap-northeast-3
Looking in AWS Region: ap-south-1
Looking in AWS Region: ap-southeast-1
Looking in AWS Region: ap-southeast-2
Looking in AWS Region: ca-central-1
Looking in AWS Region: eu-central-1
Found an unused DB Subnet Group: kanis-subnet-group in eu-central-1
Found an unused DB Subnet Group: mkanis-lb-subnet-group in eu-central-1
Found an unused DB Subnet Group: mkanis-subnet-group in eu-central-1
Looking in AWS Region: eu-north-1
Looking in AWS Region: eu-west-1
Looking in AWS Region: eu-west-2
Found an unused DB Subnet Group: default-vpc-0c169e35a2ce3569b in eu-west-2
Found an unused DB Subnet Group: default-vpc-0c7ac4dd7a1352bad in eu-west-2
Looking in AWS Region: eu-west-3
Found an unused DB Subnet Group: default in eu-west-3
Found an unused DB Subnet Group: gh-aurora-db-subnet-group in eu-west-3
Looking in AWS Region: sa-east-1
Looking in AWS Region: us-east-1
Found an unused DB Subnet Group: gh-action-2c397d7-subnet-group in us-east-1
Found an unused DB Subnet Group: gh-action-f44b2c3-subnet-group in us-east-1
Looking in AWS Region: us-east-2
Looking in AWS Region: us-west-1
Looking in AWS Region: us-west-2
kami619 commented 1 month ago

@ryanemerson thanks for the feedback, I have applied the fixes, let me know if this is good now.