Have you tried omitting all those default values? There is a difference between using a value that is the same as the default, and omitting the property to fall back to the default.
little-cartoon-10569
06/03/2022, 2:02 AM
Also, you could try setting the alias first, without setting parent. Then update the code to add the parent opt. I don't know if it's needed for this, but it is needed for protected, so .. worth a shot?
g
great-byte-67992
06/03/2022, 2:05 AM
Have you tried omitting all those default values?
Yeah my first attempt was just setting the
parent: pulumi.rootStackResource
field. The pulumi preview showed a delete+create as well.
great-byte-67992
06/03/2022, 2:05 AM
Also, you could try setting the alias first, without setting parent. Then update the code to add the parent opt. I don't know if it's needed for this, but it is needed for protected, so .. worth a shot?
I'll give it a shot now
great-byte-67992
06/03/2022, 2:30 AM
No dice, but it's okay. I'll just nuke and recreate.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.