Soooooooooooooooo I'm trying to have an aliased database to switch from db name "A" to db name "B". I aliased them both to "C". This is outlined in the documentation here:
https://www.pulumi.com/docs/intro/concepts/programming-model/#aliases
However I get the following error: "error: post-step event returned an error: failed to normalize URN references:"
Any thoughts?
My steps for recreation are:
1. Declare Database resource "A" with alias "C"
2. pulumi up
3. Modify code to declare database resource "B" with alias "C"
4. pulumi up
5. Approve changes -> error
And I understand my failure. Apparently the process should of been:
1. Declare Database resource "A" no alias
2. pulumi up
3. Modify code to declare database resource "B" with alias "A"
4. pulumi up
g
gentle-diamond-70147
02/03/2021, 8:33 PM
I'm not sure I follow. You're trying to alias between two different resources? I'm not sure that's supported to be honest.