rapid-eve-2422910/20/2022, 8:04 PM
So, anyway, I was trying to deploy my stack with the updated versions. I received an error message "name" is deprecated and replaced with "db_name" in aws.rds.Instance So, I changed "name" to "db_name" Deployed. Pulumi deleted my old database and backups, and created a new database with all data lost.
pulumi==3.43.1 pulumi-aws==5.18.0 pulumi-docker==3.4.1 python-dotenv==0.21.0
little-cartoon-1056910/20/2022, 8:20 PM
, https://www.pulumi.com/docs/intro/concepts/resources/options/protect/) DB instances and anything else that must not be deleted without triple-checking.
rapid-eve-2422910/20/2022, 9:26 PM
little-cartoon-1056910/20/2022, 9:49 PM
rapid-eve-2422910/20/2022, 10:09 PM
little-cartoon-1056910/20/2022, 11:24 PM
opt to see if it works (using
), but I'm not optimistic: I'd bet this is a provider-level (AWS/RDS) change, not within Pulumi's ability to influence...
billowy-army-6859910/21/2022, 2:25 AM
to remove the deprecation warning one question: did you get any feedback from the CLI that it was going to replace your database? Is there anything we could have done to improve that to make it clear your database was going to be removed?