Hi there,
I am trying to setup a cross account Iot topic rule, that will forward the messages to a Kinesis stream in a different account.
Here is a snippet from my cfn:
IoTTopicRule10:
Type: AWS::IoT::TopicRule
Properties:
TopicRulePayload:
RuleDisabled: false
Sql: !Sub SELECT * FROM '${ConnectorTopicName}'
Actions:
- Kinesis:
StreamName: arn:aws:kinesis:eu-west-1:targetaccountID:stream/input-machine-data-stream
RoleArn: !Sub '${IoTTopicRuleRole.Arn}'
The role has cross account setup.
However, this does not send the data to the target account, and I can not really figure out why.
Do you have any suggestions how can I troubleshoot this? or what is causing the problem?
Cheers