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

CDK Creation Failed #122

Closed
jlchavez78 opened this issue Oct 19, 2023 · 0 comments · Fixed by #124
Closed

CDK Creation Failed #122

jlchavez78 opened this issue Oct 19, 2023 · 0 comments · Fixed by #124

Comments

@jlchavez78
Copy link

jlchavez78 commented Oct 19, 2023

HI,
I'm trying to deploy the cdk stack with 'npx cdk deploy' but I'm always getting this error

**11:38:00 | CREATE_FAILED | AWS::Lambda::Function | Custom::CDKBucketD...B69AAFB0CC9EB8756C Resource handler returned message: "1 validation error detected: Value '[arn:aws:lambda:eu-central-:606593820716:layer:RagEnginesSageMakerRagModelsModelermsmarcoMiniLML12v2BuildScriptDeploymentAwsCliLayer5EA0268E:2]' at 'layers' failed to satisfy constraint: Member must satisfy constraint: [Member must have length less than or equal to 140, Member must have length greater than or equal to 1, Member must satisfy regular expression pattern: (arn:[a-zA-Z0-9-]+:lambda:[a-zA-Z0-9-]+:\d{12}:layer:[a-zA-Z0-9-_]+:[0-9]+)|(arn:[a-zA-Z0-9-]+:lambda:::awslayer:[a-zA-Z0-9-_]+), Member must not be null] (Service: Lambda, Status Code: 400, Request ID: 9cea016c-6654-438c-a67f-13ad36a53c3a)" (RequestToken: cc9326ff-b289-1625-9688-b73f548a4a31, HandlerErrorCode: InvalidRequest)**

That's my generated config.json once 'npm run create' executed.

config.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant