This message was deleted.
# kubernetes
s
This message was deleted.
g
You should be able to set the
DeleteBeforeReplace
resource option to do this: https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v3/go/pulumi#DeleteBeforeReplace
b
Would you recommend to set it once to do this replacement and then remove it? Because generally I wouldn’t want this behavior, it’s just this one time as I do the renaming.
Conceptually I just want something like a
pulumi stack rename resource <old name> <new name>
g
Would you recommend to set it once to do this replacement and then remove it?
Yes.
Conceptually I just want something like a pulumi stack rename resource <old name> <new name>
As far as I know, there’s no current support for this.