serverless-ide-vscode
serverless-ide-vscode copied to clipboard
Functions with ECR Docker images incorrectly annotated as having missing properties in serverless.yml
Lambda functions from Docker containers (created from Docker images uploaded to AWS ECR) do not require a runtime or handler to be assigned. Yet, Serverless IDE appears to raise an error when the following code is added to serverless.yml:
functions:
my-function:
image:
name: my-image
The my-function property gets highlighted as having [Serverless IDE] Missing property "handler". and [Serverless IDE] Missing property "runtime".
Neither of these are required for the Lambda function to work using Docker containers.
This appears to be a bug.