bored-table-20691
05/28/2021, 6:48 PMappsv1.NewDeployment(ctx, "myDeployment", &appsv1.DeploymentArgs{
and I want to change it to
appsv1.NewDeployment(ctx, "my-deployment", &appsv1.DeploymentArgs{
If I do that, it fails because it says the Deployment already exists with that name (note that I have given it an explicit name, so it is not using autonaming)gorgeous-egg-16927
05/28/2021, 8:18 PMDeleteBeforeReplace
resource option to do this: https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v3/go/pulumi#DeleteBeforeReplacebored-table-20691
05/28/2021, 8:22 PMpulumi stack rename resource <old name> <new name>
gorgeous-egg-16927
05/28/2021, 8:40 PMWould 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.