06/20/2022, 2:35 PM
Hi all, I’m trying to assign my RDS instance with a final snapshot containing the actual ID of the instance (which is dynamic and determine by Pulumi, and I want to keep it that way) I couldn’t find anything in the SDK enable me to update the instance’s final snapshot ID after declaring the new rds instance I imagine something like
db.apply(x => db.set({finaleSnapshotId: `prefix….${}})
Does anyone here have an experience with that? Thanks 🙂


06/20/2022, 8:54 PM
That won't be possible. There is no way to use Pulumi to update an existing RDS instance except via the constructor parameters.
You can set the identifier yourself (override Pulumi's random value) and use that in the final snapshot ID. So you can reproduce Pulumi's identifier-generating logic, and use the same random value for both the identifier and finalSnapshotIdentifier args. But you cannot use Pulumi's internally-generated value in both places.
Pulumi uses the name and the RandomId resource ( to generate most id values, you can do that too.