Drone plugins > AWS SAM BUILD

AWS SAM BUILD

by harness


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

    stringoptional

    The Docker image to use for building the SAM application.

    Default: none

  • template_file_path

    stringoptional

    The path to the SAM template file.

    Default: template.yaml/template.yml

  • build_command_options

    stringoptional

    Additional options for the sam build command.

    Default: none

  • private_registry_url

    stringoptional

    The URL of the private Docker registry.

    Default: none

  • private_registry_username

    stringoptional

    The username for authenticating with the private Docker registry.

    Default: none

  • private_registry_password

    stringoptional

    The password for authenticating with the private Docker registry.

    Default: none