It’s due your cluster has a dependency we cannot delete. Here it’s the internet gateway. Do you have a VPC plugged to it?
Here’s error on your dev cluster:
Error: error deleting ElastiCache Subnet Group (elasticache-vpc-0c2c112392b9488da): CacheSubnetGroupInUse: Cache subnet group elasticache-vpc-0c2c112392b9488da is currently in use by a cache cluster.
and on your prod cluster:
Error: error deleting ElastiCache Subnet Group (elasticache-vpc-0d9f436f3804929ee): CacheSubnetGroupInUse: Cache subnet group elasticache-vpc-0d9f436f3804929ee is currently in use by a cache cluster
So you should delete manually your VPC from AWS console.
Thanks, I have tried to delete the attached VPC but I am currently stuck as I can’t find where I can unmap the auto-assigned public IP address.
VPC is currently mapped to 10.1.0.0/16 which is I think assigned from Qovery. So, when I try to delete the IGW then I am being asked to first unmap this public IP.
That’s a good point, I’ve never tried to unmap it via Qovery, you can try actually , unmap it, deploy the cluster and then trigger a delete (deploy might not be necessary as delete triggers a deploy first to align all resources).
Otherwise, you should have a view in console to see all subnets and connections on a VPC, it’s in the VPC details view => in my case /vpc/home?region=us-east-2#VpcDetails:VpcId=vpc-0d536128abf28ebe5