Skip to content

Drop AWS SDK for Go v1 and upgrade to v2 before EOL/end-of-support at July 31, 2025 #1303

Open
@rgoltz

Description

@rgoltz

What would you like?

Requirement

As far as I can see there is an indirect dependency for github.com/aws/aws-sdk-go (AWS SDK for Go v1) in Go kit:

kit/go.mod

Line 8 in 78fbbce

github.com/aws/aws-sdk-go v1.40.45

Problem

According to this https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-go-v1-on-july-31-2025/,
there will be no more releases for AWS SDK for Go v1 after July 2025. AWS as maintainer of this AWS SDK for Go package announced the EOL of the version 1 for July 31, 2025. After this date, there are no critical bug fixes and no security issues provided.

Proposal

Go kit should consider migrating (or updating references modules) to AWS SDK for Go v2 - https://github.com/aws/aws-sdk-go-v2/ to reduce the technical dept and converges to use a single version of this SDK: github.com/aws/aws-sdk-go-v2 (I can also see already usage of v2 in Go kit).

I found the following PRs / notes:

Originally posted by @sagikazarmark in #1109
We should consider upgrading to the v2 SDK for AWS. It's not a giant module anymore for every service.

Originally posted by @sagikazarmark in #1109
PRs sent. I left the "old" AWS SDK in place for now. I couldn't tell the difference between cloudwatch and cloudwatch2. If the only difference is the AWS SDK version, we could just deprecate the old one.


Maybe there is a chance to drop the github.com/aws/aws-sdk-go reference from Go kit within an upcoming release/PR? - Maybe it is an "old relic"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions