This sounds like you're changing the Pulumi name (1st arg to constructor) at the same time as you're changing the content of the record. You shouldn't do this, as the Pulumi name property is what Pulumi uses to find the resource in the state.
little-cartoon-10569
02/24/2022, 9:17 PM
You can do it if you use aliases correctly, but generally, I recommend changing the record separately from changing the record's Pulumi name.
little-cartoon-10569
02/24/2022, 9:18 PM
It reduces the chance of confusion.
c
cool-glass-63014
02/25/2022, 8:39 AM
Okay, I'll try to see if this is it! Thank you very much for the insight :)