pulumi / pulumi-synced-folder

A Pulumi component that synchronizes a local folder to Amazon S3, Azure Blob Storage, or Google Cloud Storage.
Apache License 2.0
3 stars 3 forks source link

`pulumi refresh` sets a temp path under $TMPDIR to `source` #24

Open nodakai opened 1 year ago

nodakai commented 1 year ago

What happened?

Tons of bogus updates seen by pulumi refresh even when no changes have been made to the local files

        ~ aws:s3/bucketObject:BucketObject: (update)
            [id=init.bash]
            [urn=urn:pulumi:main-sin::DayJob.Pulumi::synced-folder:index:S3BucketFolder$aws:s3/bucketObject:BucketObject::i0-init.bash]
            [provider=urn:pulumi:main-sin::DayJob.Pulumi::pulumi:providers:aws::default_5_30_0::3b2ab4b5-9431-4bbe-a2da-a16687d5f515]
            --outputs:--
          - source                   : asset(file:5c2df0c) { r/i0/init.bash }
          + source                   : "/pulumi-asset-5c2df0c1ce4e5c88ed8331e4e85ec29e072c75929c080cdb937635014ae190cf"

I'm on Mac and my $TMPDIR is /var/folders/xf/332s28f116qd_kqfy9rd6rl00000gn/T/

Expected Behavior

no diffs

Steps to reproduce

pulumi up followed by pulumi refresh

Output of pulumi about

CLI
Version 3.60.0 Go Version go1.20.2 Go Compiler gc

Plugins NAME VERSION aws 5.33.0 dotnet unknown synced-folder 0.10.2

Host
OS darwin Version 13.2.1 Arch arm64

This project is written in dotnet: executable='/usr/local/share/dotnet/dotnet' version='7.0.201'

Dependencies: NAME VERSION FSharp.Core 7.0.200 Pulumi.SyncedFolder 0.10.2

Additional context

I'm using F#

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).