https://pulumi.com logo
#aws
Title
# aws
n

nice-island-58708

08/22/2023, 2:28 PM
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

melodic-tomato-39005

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

nice-island-58708

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
Or line 443 where it ReadAll’s the URL
m

melodic-tomato-39005

08/22/2023, 7:43 PM
Interesting. The code in
sdk/
is generated. By Pulumi, so it’s still our issue.
2 Views