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 2 forks source link

Managed files use `pulumi:providers:aws::default_5_30_0` as their provider #25

Open nodakai opened 1 year ago

nodakai commented 1 year ago

What happened?

        + aws:s3/bucketObject:BucketObject: (create)
            [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::04da6b54-80e4-46f7-96ec-b56ff0331ba9]
            acl         : "private"
            bucket      : "init-redacted"
            contentType : "text/plain"
            forceDestroy: false
            key         : "init.bash"
            source      : asset(file:5c2df0c) { r/i0/init.bash }

Expected Behavior

It's odd to need the 2nd AWS provider version in a single project.

The managed files should use the same AWS provider as the project itself (5.33 in my case today)

Steps to reproduce

pulumi up as usual

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.Aws 5.33.0 Pulumi.SyncedFolder 0.10.2

Additional context

No response

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