02/13/2020, 12:08 PM
When changing a name of a dynamic provide, the deployment attempts to replace all resoruces with ' [diff: ~provider]' and fails on the first of them (namespace), is there any workaround?
Type                            Name                                   Status                   Info
pulumi:pulumi:Stack             stack-test-bfstack-sales               **failed**               1 error
+   ├─ pulumi:providers:kubernetes  <|>  created
+-  └─ kubernetes:core:Namespace    eu                                     **replacing failed**     [diff: ~provider]; 1 error
kubernetes:core:Namespace (eu):
error: resource eu was not successfully created by the Kubernetes API server : namespaces "eu" already exists
pulumi:pulumi:Stack (stack-test-bfstack-sales):
error: update failed
while testing I just used 'dev' as the name for the provider, but now I want to change it to something more meaningful, like a cluster name
is there any way to do what I want without deleting everything and installing from scratch?