In-place recreation of the resource with same path
leads to an empty bucket
#44
Labels
blocked
The issue cannot be resolved without 3rd party action.
impact/reliability
Something that feels unreliable or flaky
impact/usability
Something that impacts users' ability to use the product easily and intuitively
kind/bug
Some behavior is incorrect or out of spec
size/S
Estimated effort to complete (1-2 days).
What happened?
I tried the following as a temporary fix for #27:
My idea was to enforce the creation of a new resource to trigger the folder/bucket sync.
What happened was that on running the program:
delete
executes and deletes all the contents of the bucket.Here's the log (shortened)
As a result, the bucket is empty.
Expected Behavior
After running the program, the folder's contents should be synced.
Steps to reproduce
I think the code snippet above should reproduce the behaviour.
Output of
pulumi about
(I run the program via the automation API and so not sure how to get the
pulumi about
)Additional context
Here's the relevant line that defines the 'delete':
pulumi-synced-folder/provider/cmd/pulumi-resource-synced-folder/s3-bucket-folder.ts
Line 72 in 9506b2d
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: