aws-samples / aws-serverless-connect-wallboard

Sample code for building a serverless wallboard for Amazon Connect.
MIT No Attribution
28 stars 18 forks source link

Yaml Failed to create stack #13

Closed AkhirHassan closed 9 months ago

AkhirHassan commented 1 year ago

The Yaml File on this repository is failing to launch the stack in AWS CloudFormation.

Screenshot 2023-02-28 142146
Brettles commented 1 year ago

Thanks for letting me know - could you tell me what the error message is at the bottom-right of the screen and what resource it applies to? I think that's the source of the problem but it's cut off at the end.

AkhirHassan commented 1 year ago

Hi Brett,

The Logical ID is LambdaAgentSourceMapping and the Status Reason is Resource handler returned message: "Model validation failed (#/EventSourceArn: 2 schema violations found) #/EventSourceArn: expected minLength: 12, actual: 9 (#/EventSourceArn) #/EventSourceArn: failed validation constraint for keyword [pattern] (#/EventSourceArn)" (RequestToken: 88866a11-bdbd-4227-299d-cdc8b00e0b95, HandlerErrorCode: InvalidRequest)

Thank you Regards Abdul Hassan

On Tue, Feb 28, 2023 at 5:24 PM Brett Looney @.***> wrote:

Thanks for letting me know - could you tell me what the error message is at the bottom-right of the screen and what resource it applies to? I think that's the source of the problem but it's cut off at the end.

— Reply to this email directly, view it on GitHub https://github.com/aws-samples/aws-serverless-connect-wallboard/issues/13#issuecomment-1447653050, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZVP4P4ZIPFUT5VCR6UNQNLWZWK2DANCNFSM6AAAAAAVKF4CCY . You are receiving this because you authored the thread.Message ID: @.*** com>

Brettles commented 1 year ago

When you created the stack what did you enter for the "KinesisAgentStream" ARN? It looks like that may not have been in the right format. It should be "arn:aws:kinesis:REGION-NAME:ACCOUNT-NAME:stream/STREAM-NAME" and the stream must exist before creating the stack.

AkhirHassan commented 1 year ago

its working Fine now Thank you for your help regards Abdul