Drone plugins > AWS SAM BUILD
This plugin enables building AWS Serverless Application Model (SAM) applications using the sam build command. It supports various options for building, including using a specific Docker image, providing build command options, and authenticating with a private Docker registry.
Example
kind: pipeline
name: default
steps:
- steps:
name: sam_build
image: plugins/aws-sam-build
settings:
template_file_path: template.yaml
build_image: public.ecr.aws/sam/build-python3.9:1.112.0-20240313001230
build_command_options: "--debug"
Properties
build_image
stringoptionalThe Docker image to use for building the SAM application.
Default: none
template_file_path
stringoptionalThe path to the SAM template file.
Default: template.yaml/template.yml
build_command_options
stringoptionalAdditional options for the sam build command.
Default: none
private_registry_url
stringoptionalThe URL of the private Docker registry.
Default: none
private_registry_username
stringoptionalThe username for authenticating with the private Docker registry.
Default: none
private_registry_password
stringoptionalThe password for authenticating with the private Docker registry.
Default: none