:wave: hello! *is there a way to achieve `deleteBe...
# typescript
m
👋 hello! is there a way to achieve
deleteBeforeReplace
behavior when using the
@pulumi/eks
package?
More specifically, I want to basically call:
Copy code
const cluster = new eks.Cluster('my-cluster', {}, { deleteBeforeReplace: true })
but looks like the property
deleteBeforeReplace
does not exist in ComponentResourceOptions. (asking in #typescript since this library is only available for TS/JS, but may cross-post to #aws )
g
the
eks.Cluster
is a component resource, so you can add or override
deleteBeforeReplace
on any of it's sub-resources using a transformation - https://www.pulumi.com/docs/intro/concepts/programming-model/#transformations
m
ah, i see. i’ll give it a shot, thank you!