-
Notifications
You must be signed in to change notification settings - Fork 252
s3: migrate to aws-sdk-go-v2 #516
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
Closed
bschaatsbergen
wants to merge
5
commits into
hashicorp:main
from
bschaatsbergen:migrate-to-aws-sdk-go-v2
Closed
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
6b21d3f
s3: migrate to aws-sdk-go-v2
bschaatsbergen 482f17f
s3: improve loading the aws configurations
bschaatsbergen d99059f
s3: bump to go 1.21
bschaatsbergen 9a24b84
workflows: bump to go 1.21
bschaatsbergen ea56dc3
workflows: bump to v4.6.0
bschaatsbergen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,64 @@ | ||
module github.com/hashicorp/go-getter | ||
|
||
go 1.21 | ||
|
||
require ( | ||
cloud.google.com/go/storage v1.29.0 | ||
github.com/aws/aws-sdk-go v1.44.122 | ||
github.com/aws/aws-sdk-go-v2 v1.36.1 | ||
github.com/aws/aws-sdk-go-v2/config v1.29.6 | ||
github.com/aws/aws-sdk-go-v2/credentials v1.17.59 | ||
github.com/aws/aws-sdk-go-v2/service/s3 v1.76.1 | ||
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d | ||
github.com/cheggaaa/pb v1.0.27 | ||
github.com/fatih/color v1.7.0 // indirect | ||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect | ||
github.com/hashicorp/go-cleanhttp v0.5.2 | ||
github.com/hashicorp/go-safetemp v1.0.0 | ||
github.com/hashicorp/go-version v1.6.0 | ||
github.com/klauspost/compress v1.15.11 | ||
github.com/mattn/go-colorable v0.0.9 // indirect | ||
github.com/mattn/go-runewidth v0.0.4 // indirect | ||
github.com/mitchellh/go-homedir v1.1.0 | ||
github.com/mitchellh/go-testing-interface v1.14.1 | ||
github.com/ulikunitz/xz v0.5.10 | ||
golang.org/x/net v0.34.0 // indirect | ||
golang.org/x/oauth2 v0.7.0 | ||
google.golang.org/api v0.114.0 | ||
) | ||
|
||
require ( | ||
cloud.google.com/go v0.110.0 // indirect | ||
cloud.google.com/go/compute v1.19.1 // indirect | ||
cloud.google.com/go/compute/metadata v0.2.3 // indirect | ||
cloud.google.com/go/iam v0.13.0 // indirect | ||
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.8 // indirect | ||
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.28 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.32 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.32 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.2 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.32 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.2 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.6.0 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.13 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.13 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/sso v1.24.15 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.14 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/sts v1.33.14 // indirect | ||
github.com/aws/smithy-go v1.22.2 // indirect | ||
github.com/fatih/color v1.7.0 // indirect | ||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect | ||
github.com/golang/protobuf v1.5.3 // indirect | ||
github.com/google/go-cmp v0.6.0 // indirect | ||
github.com/google/uuid v1.3.0 // indirect | ||
github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect | ||
github.com/googleapis/gax-go/v2 v2.7.1 // indirect | ||
github.com/mattn/go-colorable v0.0.9 // indirect | ||
github.com/mattn/go-isatty v0.0.16 // indirect | ||
github.com/mattn/go-runewidth v0.0.4 // indirect | ||
go.opencensus.io v0.24.0 // indirect | ||
golang.org/x/net v0.34.0 // indirect | ||
golang.org/x/sys v0.29.0 // indirect | ||
golang.org/x/text v0.21.0 // indirect | ||
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect | ||
google.golang.org/appengine v1.6.7 // indirect | ||
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect | ||
google.golang.org/grpc v1.56.3 // indirect | ||
google.golang.org/protobuf v1.33.0 // indirect | ||
gopkg.in/cheggaaa/pb.v1 v1.0.27 // indirect | ||
) | ||
|
||
go 1.13 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It’s unclear to me if this is the right approach and whether it provides feature parity with the current implementation of metadata URL overriding. Something to look into.