Skip to content

Is cross account/cross region possible #153

@jc13m13

Description

@jc13m13

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

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