aws-actions/AWS Lambda Deploy Action

Updates the code and configuration of AWS Lambda functions. If the function does not exist, a new one will be created.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
function-nameName of the Lambda function.yes
package-typeThe package type of the Lambda function. Set to "Image" for container image functions, defaults to "Zip" for .zip file functions.noZip
image-uriThe URI of the container image in Amazon ECR. Required when package-type is "Image".no
code-artifacts-dirThe path to a directory of code artifacts to zip and deploy to Lambda. Required when package-type is "Zip".no
handlerThe name of the method within your code that Lambda calls to run your function. Required when package-type is "Zip".noindex.handler
runtimeThe identifier of the runtime. Required when package-type is "Zip".nonodejs20.x
s3-bucketS3 bucket name to use for Lambda deployment package. If provided, S3 deployment method will be used instead of direct upload.no
s3-keyS3 key for the Lambda deployment package in the bucket. If not provided, a key will be auto-generated using the format: lambda-deployments/{function-name}/{timestamp}-{commit-hash}.zip.no
publishSet to true to publish a new version of the function after updating the code.no
dry-runSet true to validate the request parameters and access permissions without modifying the function code. Applicable for updating function code only. Creating and updating function configuration will be skipped since they do not support dry run.nofalse
revision-idUpdate the function only if the revision ID matches the ID that is specified.no
architecturesThe instruction set architecture that the function supports.no
source-kms-key-arnThe ARN of the Key Management Service (KMS) customer managed key that is used to encrypt your functions .zip deployment package.no
roleThe Amazon Resource Name (ARN) of the functions execution role. Required when creating a new function.no
function-descriptionA description of the function.no
memory-sizeThe amount of memory available to the function at runtime.no
timeoutThe amount of time (in seconds) that Lambda allows a function to run before stopping it.no
vpc-configFor network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets in the VPC.no
environmentEnvironment variables as a JSON stringno
dead-letter-configSpecifies the queue or topic where Lambda sends asynchronous events when they fail processing.no
kms-key-arnThe ARN of the Key Management Service (KMS) customer managed keyno
tracing-configSet Mode to Active to sample and trace a subset of incoming requests with X-Ray.no
layersA list of function layers to add to the functions execution environment.no
file-system-configsConnection settings for an Amazon EFS file system.no
image-configConfiguration for the Lambda functions container image.no
ephemeral-storageThe size of the functions /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB.no
snap-startThe functions SnapStart setting.no
logging-configThe Amazon CloudWatch Logs configuration settings for the function.no
code-signing-config-arnThe ARN of a code-signing configuration to use on this function.no
tagsTags to apply to the function as a JSON string (e.g. {"Environment":"Production","Team":"DevOps"})no
durable-configConfiguration settings for durable functions as a JSON string (e.g. {"ExecutionTimeout":3600,"RetentionPeriodInDays":7})no
namedescription
function-arnThe ARN of the updated Lambda function.
versionThe function version if a new version was published.