Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(blobfs): Use AWS SDK v2 for blobfs #892

Merged
merged 1 commit into from
Nov 24, 2024

Conversation

hairyhenderson
Copy link
Owner

@hairyhenderson hairyhenderson commented Nov 23, 2024

Switches to AWS SDK v2 for the S3 support in blobfs.

This changes somewhat the query parameters recognized in URLs, which have been updated in url_schemes.md.

In addition to still supporting the undocumented AWS_ANON env var, this adds support for an anonymous=true query parameter to remove the need to set environment variables. That may be removed if google/go-cloud#3512 is fulfilled with a different query parameter, so it's documented as experimental.

@hairyhenderson hairyhenderson marked this pull request as draft November 23, 2024 22:17
@hairyhenderson hairyhenderson force-pushed the use-aws-sdk-v2-for-blobfs branch from b956b45 to 1b71146 Compare November 23, 2024 22:18
@hairyhenderson hairyhenderson changed the title Use aws sdk v2 for blobfs feat(blobfs): Use AWS SDK v2 for blobfs Nov 23, 2024
@hairyhenderson hairyhenderson force-pushed the use-aws-sdk-v2-for-blobfs branch 2 times, most recently from 22cb0cb to e9f8c36 Compare November 24, 2024 02:04
@hairyhenderson
Copy link
Owner Author

This is going to be a bit more awkward at the moment, because supporting anonymous S3 access (currently done by setting $AWS_ANON) is impossible without modifying how I'm using the CDK.

I've filed google/go-cloud#3512, but will see about hacking around it for now...

@hairyhenderson hairyhenderson force-pushed the use-aws-sdk-v2-for-blobfs branch from e9f8c36 to e54fa68 Compare November 24, 2024 19:02
@hairyhenderson hairyhenderson self-assigned this Nov 24, 2024
@hairyhenderson hairyhenderson force-pushed the use-aws-sdk-v2-for-blobfs branch from e54fa68 to 5922c98 Compare November 24, 2024 19:17
@hairyhenderson hairyhenderson marked this pull request as ready for review November 24, 2024 19:17
@hairyhenderson hairyhenderson merged commit d950b58 into main Nov 24, 2024
17 checks passed
@hairyhenderson hairyhenderson deleted the use-aws-sdk-v2-for-blobfs branch November 24, 2024 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant