I'm trying to use the new `deleteBeforeReplace` op...
# general
m
I'm trying to use the new
deleteBeforeReplace
option added in
0.16.14
(with typescript). I have the correct version of the
@pulumi/pulumi
package, but it does not seem to have this new option on the
CustomResourceOptions
type.
w
You will also need to update your cloud provider package to the latest - are you using AWS/Kubernetes/Azure?
m
AWS, I think it is already the latest, but I will try updating
When I look into my
node_modules/@pulumi/pulumi/resource.d.ts
, it seems like this file just hasn't been updated with the new version
w
The CHANGELOG for
0.16.8
of
@pulumi/aws
says it pulled this in: https://github.com/pulumi/pulumi-aws/blob/master/CHANGELOG.md#0168-released-february-11th-2019
So in theory if you are using that this should work.
m
Yeah, that is the version I am on