https://pulumi.com logo
#general
Title
# general
m

millions-judge-24978

02/16/2019, 1:25 AM
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

white-balloon-205

02/16/2019, 1:28 AM
You will also need to update your cloud provider package to the latest - are you using AWS/Kubernetes/Azure?
m

millions-judge-24978

02/16/2019, 1:30 AM
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

white-balloon-205

02/16/2019, 1:31 AM
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

millions-judge-24978

02/16/2019, 1:33 AM
Yeah, that is the version I am on