ambitious-father-68746
03/28/2022, 5:44 PMname
has been deprecated in favor of db_name
. Indeed, this shows up when I run Pulumi:
├─ aws:rds:Instance db1 [diff: +name-dbName]; 1 warning
warning: name is deprecated: Use db_name instead
But when I actually make the code change to db_name
, Pulumi wants to replace all my databases:
+- ├─ aws:rds:Instance db1 replace [diff: +dbName]
I'm not sure how to progress from here, I've checked the state file and it mentions dbName
, not name
, so I wonder why it complains. Thank you.billowy-army-68599
03/28/2022, 6:04 PMambitious-father-68746
03/28/2022, 9:19 PM++aws:rds/instance:Instance: (create-replacement)
[id=database128736]
[urn=urn:pulumi:precise::lytt::aws:rds/instance:Instance::database]
[provider=urn:pulumi:precise::lytt::pulumi:providers:aws::provider::634a5466-1c03-4524-a582-fede56d53694]
+ dbName: "database"
+-aws:rds/instance:Instance: (replace)
[id=database128736]
[urn=urn:pulumi:precise::lytt::aws:rds/instance:Instance::database]
[provider=urn:pulumi:precise::lytt::pulumi:providers:aws::provider::634a5466-1c03-4524-a582-fede56d53694]
--aws:rds/instance:Instance: (delete-replaced)
[id=database128736]
[urn=urn:pulumi:precise::lytt::aws:rds/instance:Instance::database]
[provider=urn:pulumi:precise::lytt::pulumi:providers:aws::provider::634a5466-1c03-4524-a582-fede56d53694]
acoustic-truck-53557
04/16/2022, 9:32 PMambitious-father-68746
04/19/2022, 12:10 PMdb_name
. I'm happy.