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
Does anyone here have an experience with that?
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.