# general


07/06/2023, 7:14 PM
anybody come up with a clever model using automation API to manage the lifecycle of say snapshotting a prod db, sanitizing it, creating/updating downlevel environment db using this sanitized snapshot and then rectifying or updating pulumi state and/or any objects that depend on that downlevel db (dns, etc)? Right now we manage RDS Postgres in Terraform and the "refresh" process is bash plus sql scripts plus
terraform import
type commands to orchestrate it all