by creating the new DB first before deleting the old DB.
The bigger question is, why is changing something like a username and password causing the RDS instance to need to be recreated? Are there any other changes that are part of this update? And if there isn't - and it's just behavior you can't get around - than is there a way for you to add new credentials without doing the replace? Presumably you don't want to lose your data by spinning up a new DB.
b
bitter-application-91815
03/23/2021, 7:03 PM
The only change is the master username and password on the cluster. Maybe that needs to be fixed ? i.e. immutable
b
billowy-army-68599
03/23/2021, 7:08 PM
@bitter-application-91815 master username doesn't support in place updates, that's on the aws api side
billowy-army-68599
03/23/2021, 7:08 PM
so if you change that in your state, it'll recreate
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.