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

Pipe access to Kensis #9

Open
banerjeeso opened this issue Dec 5, 2023 · 0 comments
Open

Pipe access to Kensis #9

banerjeeso opened this issue Dec 5, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@banerjeeso
Copy link

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: "*",
},
};
}

@banerjeeso banerjeeso added the bug Something isn't working label Dec 5, 2023
@banerjeeso banerjeeso changed the title Pipeline access to Kensis Pipe access to Kensis Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant