https://pulumi.com logo
n

nutritious-flower-51098

09/23/2020, 3:50 PM
We’re using StackReference in one of the projects to configure kubernetes provider. That cluster was recreated. The problem is that StackReference is still referring to the old provider config, and now it cannot configure itself as IP has changed. Is this a bug or expected behaviour, and is there a way of refreshing that stale StackReference?
b

billowy-army-68599

09/23/2020, 5:17 PM
try a
pulumi up -r
n

nutritious-flower-51098

09/24/2020, 7:07 AM
didn’t work
in the end, I had to remove provider from the state, then it was refreshed. would be nice if pulumi could refresh provider automatically
h

hundreds-musician-51496

09/24/2020, 8:28 PM
appreciate you letting us know the outcome!