Find aws-sdk-go v1 usage
Recipe ID
org.openrewrite.golang.migration.FindAwsSdkGoV1UsageArtifactgithub.com/moderneinc/recipes-goMark every github.com/aws/aws-sdk-go construct with the aws-sdk-go-v2 shape that replaces it. AWS ended support for v1 in July 2025. The rewrite recipes cover the constructs with a faithful one-to-one v2 form; this reports those alongside the ones that need a hand migration — the awserr error matching, the page iterators and waiters that became types, and the service enums that moved to a types sub-package.
Single recipeProprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe org.openrewrite.golang.migration.FindAwsSdkGoV1UsageIf the recipe isn’t available locally, install it with:
mod config recipes go install github.com/moderneinc/recipes-go