Skip to content

Conversation

@DrJosh9000
Copy link
Contributor

@DrJosh9000 DrJosh9000 commented Oct 27, 2025

Description

Upgrade to the supported v2 of the AWS Go SDK (from v1, which is unsupported).

Context

https://linear.app/buildkite/issue/PB-861/update-to-aws-go-sdk-v2

Fixes #3533
Closes #3559

Changes

Find v2 equivalents of v1 functionality. This is mostly fine but not always possible, particularly NewChainCredentials. Since we should be using a more standard approach to authenticating to AWS anyway (see #3559), I've changed the way that part works to be similar to #3559.

Testing

  • Tests have run locally (with go test ./...). Buildkite employees may check this if the pipeline has run automatically.
  • Code is formatted (with go fmt ./...)
  • Actually try running it against AWS

Disclosures / Credits

No AI here

@DrJosh9000 DrJosh9000 force-pushed the pb-861-aws-sdk-go-v2 branch 3 times, most recently from f06ea0c to 1e335e7 Compare October 28, 2025 22:59
@DrJosh9000 DrJosh9000 marked this pull request as ready for review October 29, 2025 00:04
@DrJosh9000 DrJosh9000 force-pushed the pb-861-aws-sdk-go-v2 branch 5 times, most recently from 0e6311f to b1d6e9c Compare October 29, 2025 05:56
@DrJosh9000 DrJosh9000 requested a review from a team October 29, 2025 22:28
Copy link
Member

@wolfeidau wolfeidau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DrJosh9000 you may want to remove this internal/awslib/.DS_Store

@DrJosh9000 DrJosh9000 force-pushed the pb-861-aws-sdk-go-v2 branch 3 times, most recently from 51ad6c9 to 51faf87 Compare October 29, 2025 23:08
@DrJosh9000 DrJosh9000 requested a review from wolfeidau November 3, 2025 06:31
Copy link
Member

@wolfeidau wolfeidau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few small things and questions.

@DrJosh9000 DrJosh9000 force-pushed the pb-861-aws-sdk-go-v2 branch from 51faf87 to 6a5f7ce Compare November 4, 2025 02:59
@DrJosh9000 DrJosh9000 force-pushed the pb-861-aws-sdk-go-v2 branch from 6a5f7ce to 2a95448 Compare November 4, 2025 03:03
@DrJosh9000 DrJosh9000 requested a review from wolfeidau November 4, 2025 03:04
Copy link
Contributor

@moskyb moskyb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome stuff, this is really fiddly work and it looks like you've done an awesome job.

Copy link
Member

@wolfeidau wolfeidau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@DrJosh9000 DrJosh9000 merged commit 47e033a into main Nov 4, 2025
1 check passed
@DrJosh9000 DrJosh9000 deleted the pb-861-aws-sdk-go-v2 branch November 4, 2025 22:51
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.

DescribeTags error in buildkite logs, no EC2 tags

4 participants