-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Resource handler returned message: "Resource of type 'AWS::Pipes::Pipe' with identifier 'testPipeEventBridge-XXXXXXX' did not stabilize. Status Reason is Input parameter is invalid from the request due to : Cannot access stream arn:aws:kinesis:us-west-2:0000000000000:stream/XXXXXXX-kinesis-stream-test-dev. Please ensure the customer role can perform actions on source stream" (RequestToken: XXXXXXXXXXXX, HandlerErrorCode: NotStabilized)
the problem id due to access to Kensis recource. The code in modles.js function getSourceKinesisStreamIAMRole()
I see we just add putRecord which have an issue to access.
After I change to below code I pipeline create Source and Target
function getSourceKinesisStreamIAMRole() {
return {
Statement: {
Effect: "Allow",
Action: [
"kinesis:DescribeStream",
"kinesis:DescribeStreamSummary",
"kinesis:GetRecords",
"kinesis:GetShardIterator",
"kinesis:ListStreams",
"kinesis:ListShards",
],
Resource: "*",
},
};
}