aws sdk go – What are the advantages of migrating to AWS Golang SDK V2?

Currently in my Go project, I’m using AWS SDK V1, but I’m considering migrating to the newer version – V2.

However, I’m wondering if such a migration makes sense at all. I’ve noticed the following issues, among others:

  • The new SDK doesn’t include interfaces (e.g., ec2iface.EC2API), so they have to be created manually every time.
  • Functions related to pagination, such as DescribeInstancesPages, have been removed. I have no idea why, and now it has to be done manually.

What are the benefits of migrating to V2? From what I understand, AWS doesn’t have any plans to deprecate V1 in the near future.

Read more here: Source link