Sorry, just getting used to using Slack so this is...
# aws
n
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.
m
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.
n
I think I tracked the issue back to pulumi repo, in the file sdk/go/common/resource/asset.go line 361
Or line 443 where it ReadAll’s the URL
m
Interesting. The code in
sdk/
is generated. By Pulumi, so it’s still our issue.