This message was deleted.
# general
s
This message was deleted.
w
There are equivalents for all of the Terraform lifecycle options in Pulumi resource options. See https://www.pulumi.com/docs/intro/concepts/programming-model/#resourceoptions. Is there a particular Terraform option you are looking to emulate in Pulumi?
c
Nice!!
i
I'm looking to create an
InstanceGroupManager
which in the terraform code looks like it depends on the lifecycle to be set to
CreateBeforeDestroy
in the
InstanceTemplate
g
Pulumi does create before destroy by default. You can set the inverse (doesn’t sound like you want to in this case) with https://www.pulumi.com/docs/intro/concepts/programming-model/#deletebeforereplace.
i
@gentle-diamond-70147 thanks, appears I don't need it then
g
Right.