sparse-intern-71089
07/14/2021, 5:57 AMbreezy-butcher-78604
07/14/2021, 5:58 AMCustomResourceOptions
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
helpful-tent-95136
07/14/2021, 6:08 AMbreezy-butcher-78604
07/14/2021, 6:12 AMbreezy-butcher-78604
07/14/2021, 6:19 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 CustomResourceOptionsbreezy-butcher-78604
07/14/2021, 6:53 AMsteep-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 awsxsteep-sunset-89396
07/15/2021, 3:47 AMdeleteBeforeReplace, am I understanding you correctly?breezy-butcher-78604
07/15/2021, 3:50 AMdeleteBeforeReplace