Hi Im trying to upgrade my aws provider from v5 to v6, and it was using a default provider named `de...
a
Hi Im trying to upgrade my aws provider from v5 to v6, and it was using a default provider named
default_5_31_0
I created a new provider like so with the alias to the old one
Copy code
const awsProvider = new Provider("default", { region }, { aliases: [{ name: "default_5_31_0" }] });
and passed it down to all reasources the problem is that im getting this weird error
error: Duplicate resource URN 'urn:pulumi:dev::my-project::pulumi:providers:aws::default_5_31_0' conflicting with alias on resource with URN 'urn:pulumi:dev::my-project::pulumi:providers:aws::default'
and I can't figure out why its conflicting with the alias, i tried to rename it to awsProvider same error
error: Duplicate resource URN 'urn:pulumi:dev::my-project::pulumi:providers:aws::default_5_31_0' conflicting with alias on resource with URN 'urn:pulumi:dev::my-project::pulumi:providers:aws::awsProvider'
any idea?