You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: