Skip to content

TimeStream Cross account

0

Hi everyone, is there any way to query Timestream table of account A inside Timestream query editor account B?

asked 2 years ago339 views
1 Answer
2

Hi,

You can write a lamba in Account A that accesses TimStream table in Account B via assuming a role in Account B.

So, the Lambda function will need to assume a role in the Timestream account. The role in the Timestream account will need to have a trust policy that allows this and an execution role/policy that allows access to Timestream. See: How do I configure a Lambda function to assume an IAM role in another AWS account?.

Best,

Didier

EXPERT
answered 2 years ago
  • I dont want to query in Lambda. I wanna query in query editor..so after your solution, can I have a query in 'Timestream query editor' inside account B for tables of account A?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.