Hi @icy-eye-92908! I don’t have any direct experience with doing automatic backups for RDS, but it looks like the
backupRetentionPeriod
and
backupWindow
properties of the AWS RDS instance resource are what you’d be most interested in.
Given that you don’t have direct experience with this (nor do I), I might suggest creating a new stack in a new branch and testing these properties on non-production infrastructure first.
👍 1
i
icy-eye-92908
08/04/2023, 3:30 PM
Thanks Scott already dis some testing with those configuration keys but my staging environment couldn't deploy the Pulumi stack. Also I want to be able to decide on which environment to deploy these configuration keys (only on prod) but also struggled to enable it just for staging.
s
salmon-account-74572
08/04/2023, 3:32 PM
What sort of problems did you encounter when you tried to enable it just for staging?
i
icy-eye-92908
08/07/2023, 2:51 PM
Basically what happened was that after deploying I started to get errors on Pulumi that it couldn't downgrade from Postgres 14.7 to 14.2 and I don't know why exactly that happened, which forced me to revert everything and set the Postgres version to 14.7.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.