Hi, I'm migrating from aws classic v4 to v5 and I'...
# general
a
Hi, I'm migrating from aws classic v4 to v5 and I'm having trouble with RDS insntace provisioning (https://www.pulumi.com/registry/packages/aws/api-docs/rds/instance/). On v5,
name
is deprecated and
db_name
is its replacement. If I just replace
name
with
db_name
while provisioning rds.instance, pulumi thinks I'm changing the value for
db_name
and plan to replace the instance. How can I just adjust the attribute (from name to db_name) without causing a replacement?
b
Use an alias
a
worked, thanks.
f
Hi there, Sorry, how does using an alias resolve the issue? My RDS is a protected resource If I rename the resource and put the old name in the aliases array then I face the same issue of pulumi wanting to delete my resource My goal is the same as Diogo’s I want to just replace
name
with
dbName
The values will be the same
Thanks in advance! : )
s
@flat-queen-33017 Did you figure it out? We're running into the same issue where just setting
aliases=[pulumi.Alias(name="old_name")],
is not enough.
f
Unfortunately not yet : S