Open lxea opened 2 years ago
FYI, we use v1 interface for mocking in testing and we do common error casting using v1 types. Migrating DB access and discovery to aws-sdk-go-v2
requires great effort.
Acknowledged. We're going to need to do it anyway as v1 is going end of life and we have unnecessary binary bloat due to using both.
Both versions are currently used in teleport (join_ec2.go,lib/utils/ec2.go use v2), V1 should be migrated away from eventually
Docs for migration: https://aws.github.io/aws-sdk-go-v2/docs/migrating/