square-dress-8018006/03/2021, 11:04 PM
an rds instance and related subnet group ran into a problem where it seemed like pulumi thought it had stopped the rds instance, but actually hadn’t. So was receiving an error like this:
So, stopped and deleted the rds instance manually since it was no longer “in” pulumi state from what I could tell. Tried to
InvalidDBSubnetGroupStateFault: Cannot delete the subnet group 'cookie-db-sng-9fd6b64' because at least one database instance: cookie-db-rds05a1a02 is still using it.
again but no luck. I have been able to use
to successfully delete the infra resources - internet gateway, subnets, vpc. But still the subnet group insists there is an rds instance still up and it is in use. Any ideas on how to proceed?
the resource urn for the subnet group that comes directly with the error message above, I get the following:
pulumi state delete
no such resource exists in current state
little-cartoon-1056906/03/2021, 11:31 PM
square-dress-8018006/07/2021, 4:29 PM
that is the referenced state in
cmd worked fine.
little-cartoon-1056906/07/2021, 8:56 PM
square-dress-8018006/22/2021, 3:39 PM