Closed
Description
Before we develop any more AWS features, let's make sure we are on the latest generation of the SDK - 2.x. Upgrade guide from Amazon:
Since 2.x API is drastically different from 1.x, looks like we'll need to provide a separate set of modules to allow users to switch at their leisure.
How to Migrate your code AWS SDK v2.
Bootique changes
- Import
bootique-aws2-*
modules instead ofbootique-aws-*
- S3 injection changes: instead of
AmazonS3
, v2S3Client
object is injected - Secrets Manager injection changes: instead of
AWSSecretsManager
, v2SecretsManagerClient
object is injected - Config change:
aws.accessKey
is nowaws.credentials.accessKey
, andaws.secretKey
is nowaws.credentials.secretKey
- Config change:
awss3.signingRegion
andawssecrets.signingRegion
are no longer present. Useaws.defaultRegion
instead. - Config change:
awss3.serviceEndpoint
is nowawss3.endpointOverride
- Config change:
awssecrets.serviceEndpoint
is nowawssecrets.endpointOverride
AWS v1 to v2 Migration Resources:
Metadata
Metadata
Assignees
Labels
No labels