breezy-butcher-78604
07/14/2021, 5:57 AMdeleteBeforeReplace
removed from resource options recently? I can't see it in the type declaration with @pulumi/pulumi
v3.6.1CustomResourceOptions
what exactly is a "custom resource" defined as? why can't this be an option for all resource types?helpful-tent-95136
07/14/2021, 6:07 AMCustomResource is a resource whose create, read, update, and delete (CRUD) operations are managed by performing external operations on some physical entity.I.e. a job inside a kubernetes cluster is a custom resource
breezy-butcher-78604
07/14/2021, 6:12 AMdeleteBeforeReplace
on an ECS service via a transformation function (since the resource is part of a component resource).
if i create a service myself (ie not part of a component) it supports the deleteBeforeReplace
property.
however when I'm doing a stack transformation, the options are typed as ResourceOptions
which has no deleteBeforeReplace
property which means i get a type error if I try to set it in a stack transform.helpful-tent-95136
07/14/2021, 6:33 AMbreezy-butcher-78604
07/14/2021, 6:52 AMResourceOptions
is a subset of CustomResourceOptions
steep-sunset-89396
07/15/2021, 3:05 AMawsx
package to create that resource?breezy-butcher-78604
07/15/2021, 3:07 AMaws
but its using a task definition created with awsx
steep-sunset-89396
07/15/2021, 3:47 AMdeleteBeforeReplace
, am I understanding you correctly?breezy-butcher-78604
07/15/2021, 3:50 AMdeleteBeforeReplace