-
Notifications
You must be signed in to change notification settings - Fork 1.5k
migrate to aws-sdk-go-v2 [1/9] #4877
Description
Background
As part of #3215 we want to migrate to use the aws-sdk-go v2. This involves migrating all of the AWS API calls, roughly 500~ to use the new package. A spike was complete and its finding was documented here and that included a demo branch here. As the spike documents we can split out the work to migrate to v2 to be done in 9 parts, were we essentially use both v1 and v2 of the API while we migrate.
This ticket is to: add to ClusterProvider the setting up of a v2 aws session (mirroring the configuration we use for v1) and add a STSV2 to the ClusterProvider. This should allow us to use both v1 and v2 sessions side-by-side while we migrate. Once this step is done we can continue to the next parts and work in parallel
This ticket needs to be done first before the others