awslabs / awslabs/amazon-kinesis-client-python

Is cross account/cross region possible

Open
#153 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
377
Forks
228
PR merge metrics
No merged PRs in 30d

Description

We are using .NET bootstrap approach for a KCL (Multilang), and setting the credentials and region in a kcl.properties file

We have a data stream created in one region (A), and a ECS container consuming it (KCL) in a different region (B).
We tried the approach of a cross account assume role, but found that either we don't find the data stream in region B,
or we find it in A, but the account doesn't have the permissions to write to dynamo in region A...

I checked the code an see this, which makes me believe the region must be the same for all 3 configs (kinesis,dynamo,cloudwatch):
public void setRegionName(Region region) {
setRegionForClient("kinesisClient", kinesisClient, region);
setRegionForClient("dynamoDbClient", dynamoDbClient, region);
setRegionForClient("cloudWatchClient", cloudWatchClient, region);
}
But I don't know this code, so I'm opting to ask...

Is it possible to have different regions for each part (kinesis,dynamo,cloudwatch)?
if not, do you know of other options? (I briefly saw another options of having a KCL that copies to another region)

thanks

PS: Not sure if this is the correct place to post this, so feel free to remove it :D

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.