Sorry, just getting used to using Slack so this is a cross-post with #general
Anyone know where the code is for Pulumi-AWS BucketObject? I’m having a memory usage issue when trying to use RemoteAsset for something that is 12GB large. Whereas using FileAsset works fine. My guess is that Pulumi is trying to download the asset first to memory, instead of streaming it to s3.
08/22/2023, 5:31 PM
pulumi-aws is a bridged provider that uses Terraform under the hood (in contrast to pulumi-aws-native). So the actual implementation would be in https://github.com/hashicorp/terraform-provider-aws, unless it’s overridden in the Pulumi provider. Unlikely, but I didn’t check.
08/22/2023, 6:04 PM
I think I tracked the issue back to pulumi repo, in the file sdk/go/common/resource/asset.go line 361