Max length char of 140 for layers arn in lambda update-function-configuration --layers
command
#8426
Labels
documentation
This is a problem with documentation.
feature-request
A feature should be added or improved.
lambda
p3
This is a minor priority issue
Describe the bug
Cannot update the many layers from a lambda function using cli if more than one layer is used.
Also, cannot update layers incrementally since the command replaces all layers at once, so if the layer ARN is not provided it will be removed from the lambda.
Expected Behavior
Expected to all layers provided in the sequence to be added/updated to the function.
Current Behavior
The following error is shown:
Reproduction Steps
While trying to update the layers from a given lambda function with the following command:
Use 2 or more layers in the same call and the error will show.
Possible Solution
Allow to use more than 140 chars in the layers parameter if the parameter is a comma separated value, meaning there are multiple layer ARNs being provided.
Additional Information/Context
No response
CLI version used
aws-cli/2.13.26
Environment details (OS name and version, etc.)
Python/3.11.6 Darwin/23.0.0 source/arm64
The text was updated successfully, but these errors were encountered: