Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is cross account/cross region possible #153

Open
jc13m13 opened this issue Dec 7, 2021 · 0 comments
Open

Is cross account/cross region possible #153

jc13m13 opened this issue Dec 7, 2021 · 0 comments

Comments

@jc13m13
Copy link

jc13m13 commented Dec 7, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant