Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Validation error on update of lambda_layer_arn #4

@aufbakanleitung

Description

@aufbakanleitung

My pipeline is throwing the error that the layer arn isn't correct. But it's filled in according to spec:
lambda_layer_arn: 'arn:aws:lambda:eu-west-1:331730032056:layer:change-detect-layer'

It's also weird that my pipeline claims to be finished without errors despite this failure.

This is the run.
This is the full error:

An error occurred (ValidationException) when calling the UpdateFunctionConfiguration operation: 1 validation error detected: Value '[arn:aws:lambda:eu-west-1:331730032056:layer:change-detect-layer:]' 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-_]+)]

ps: it entirely possible that the aws credentials are too limited, but I wouldn't expect this error message from that .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions