Provider doesn't seem to honor retainOnDelete
#244
Labels
kind/bug
Some behavior is incorrect or out of spec
resolution/by-design
This issue won't be fixed because the functionality is working as designed
In looking into pulumi/pulumi-synced-folder#44, I was assuming that by setting
retainOnDelete: true
, I'd be instructing Pulumi (as the docs suggest) "not [to] call through to the resource provider’sdelete
method". The Command provider, however, doesn't seem to honor this setting.Given an S3 bucket and this TypeScript program, which uses the
managedObjects
property to delegate control over the bucket's files to the AWS CLI via the Command provider, I'd expect that after apulumi up
andpulumi destroy
, the bucket would contain the files that'd been synced frommy-folder
:Instead, those files are deleted:
Here's a snip from the logs showing the
delete
step being run:The text was updated successfully, but these errors were encountered: