Hi, is there a way in Pulumi to keep referencing a...
# general
a
Hi, is there a way in Pulumi to keep referencing a resource output from a resource that will be deleted? My use case is related to AWS RDS. One of the outputs of the resource is called
finalSnapshotIdentifier
, which is the name of the snapshot that is created when the database is deleted. I would love to be able to keep that around, for future usage. Any ideas? Please keep in mind that this information is related to Pulumi only, it doesn't exist in AWS at all.
m
Is it too late to declare your
finalSnapshotIdentifier
value in config, inject it into the resource declaration, and use it when the stack is created?
a
That means changing some code on our end, which I want to avoid for various reasons, so my question still stands as a general one. If it's not possible, then it's not possible.