Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.
This repository was archived by the owner on May 28, 2025. It is now read-only.

Supporting AWS profiles (AWS_PROFILE=) #5

Closed
@ebarault

Description

@ebarault

Hi,

Although the code already handles the default credentials provider chain:
https://github.com/trustpilot/kafka-connect-dynamodb/blob/master/source/src/main/java/com/trustpilot/connector/dynamodb/aws/AwsClients.java#L46, this does not works when using a local profile, but fails with the following error message:

To use assume role profiles the aws-java-sdk-sts module must be on the class path.

In order to fix this, the following line should be added in the build.gradle:

compile group: 'com.amazonaws', name: 'aws-java-sdk-sts', version: '1.11.846'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions