appleboy / appleboy/lambda-action

[bug] Member must have length less than or equal to 2048

Open
#83 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
D2
Stars
435
Forks
57
PR merge metrics
No merged PRs in 30d

Description

I started seeing this error:

```
2024/06/29 02:12:51 ValidationException: 1 validation error detected: Value '[]' at 'layers' failed to satisfy constraint: Member must satisfy constraint: [Member must have length less than or equal to 2048, Member must have length greater than or equal to 1, Member must satisfy regular expression pattern: (arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:\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]
```

Not sure what changed

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files, tests, or entry points are identified in the report. Start by reproducing the GitHub Action deployment with the reported AWS Lambda validation error and trace how the layers input is constructed; done means identifying the changed behavior and confirming a deployment no longer sends an invalid layers value.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, github-actions
Domain
ci-cd, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.