[fixes #45973071] - ensure rds subnet group and security group is deleted

   even when the rds db no longer exists.    Also change the template location to be in the templates directory