cuddly-magician-97620
06/22/2022, 10:25 PMretainOnDelete
as described here., but it gives me
error TS2345: Argument of type '{ retainOnDelete: boolean; }' is not assignable to parameter of type 'CustomResourceOptions'.
Object literal may only specify known properties, and 'retainOnDelete' does not exist in type 'CustomResourceOptions'.
Pulumi v3.34.1
Any idea why?billowy-army-68599
cuddly-magician-97620
06/22/2022, 10:35 PMbillowy-army-68599
pulumi about
from your project directorycuddly-magician-97620
06/22/2022, 10:39 PMCLI
Version 3.34.1
Go Version go1.17.11
Go Compiler gc
Plugins
NAME VERSION
aws 4.37.5
aws 4.29.0
docker 3.1.0
docker 3.1.0
nodejs unknown
postgresql 3.3.0
Host
OS ubuntu
Version 20.04
Arch x86_64
Dependencies:
NAME VERSION
@pulumi/aws 4.29.0
@pulumi/awsx 0.30.0
@pulumi/postgresql 3.3.0
@pulumi/pulumi 3.18.1
@types/node 14.17.34
billowy-army-68599
sdk/v5.4.0
as far as I can see, I'm just confirming thatcuddly-magician-97620
06/22/2022, 10:49 PM"@pulumi/aws": "^4.0.0",
Bump it to
"@pulumi/aws": "^5.0.0",
?
Also, any risk to the existing stack in doing that?billowy-army-68599
pulumi pre
and go from therecuddly-magician-97620
06/22/2022, 10:53 PM