Codefresh Steps: Reusable Code for Common Operations
This page provides code you can use to perform common operations in the Codefresh CI/CD platform.
Deploy to AWS Lambda using Serverless lambda
Deploy a serverless service (functions and resources) to AWS Lambda.
arguments
deploy:
type: lambda
title: Deploy to AWS using Credentials File
arguments:
PACKAGE: ./deploy
AWS_CREDENTIALS_FILE: '${{AWS_CREDENTIALS_FILE}}'
AWS_PROFILE: default
AWS_REGION: us-west-2
AWS_STAGE: development
deploy:
type: lambda
title: Deploy to AWS using IAM Role
arguments:
PACKAGE: deploy
AWS_REGION: us-west-2
AWS_STAGE: development