Automating Cleanup

We run an AWS development account where engineers are free to deploy v3 SST Stacks. The problem we are facing is that resources created may not be cleaned by the person who deployed the stack, leading to excessive bills for unused resources.

We are able to see the SST state files generated in s3 and infer whether they were created before an arbitrary date (based on the ‘LastModifiedDate’) and should therefore be cleaned up.

In v2, a Cloudwatch stack was created and removing them based on date was trivial. Is there a way in v3 that we can remove the stack without having the original sts.config.js file?

We would prefer not to use the console to perform these actions.