Closed pjoe closed 1 year ago
Finally got around to testing this: seems to work when explicitly specifying provider:
new synced.S3BucketFolder(
"my-files",
{
bucketName: bucket.bucket,
path: "./src/www",
acl: aws.s3.PrivateAcl,
},
{ provider: myProvider, parent: bucket }
);
but not if assuming it to inherit from parent:
new synced.S3BucketFolder(
"my-files",
{
...
},
{parent: bucket }
);
What happened?
Getting this error:
I can't see how this line would work: https://github.com/pulumi/pulumi-synced-folder/blob/v0.10.1/provider/cmd/pulumi-resource-synced-folder/s3-bucket-folder.ts#L39
Expected Behavior
Runs using specified provider without errors, e.g. like this:
Steps to reproduce
Running with default AWs provider disabled (in pulumi..yaml):
Output of
pulumi about
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).