This plugin enables the deployment of AWS Serverless Application Model (SAM) applications. It provides various options for authenticating with AWS, including using access keys, session tokens, and assuming roles with or without web identity tokens.
Example
kind: pipeline
name: default
steps:
- steps:
name: sam_build
image: plugins/aws-sam-deploy
settings:
aws_access_key: ACCESS_KEY
aws_secret_key: SECRET_KEY
aws_region: us-east-1
stack_name: aws-sam
s3_bucket: sam-plugin
template_file_path: template.yaml
Properties
aws_access_key
stringoptionalThe AWS access key for authentication.
Secret recommendedDefault: none
aws_secret_key
stringoptionalThe AWS secret key for authentication.
Secret recommendedDefault: none
aws_session_token
stringoptionalThe AWS session token for authentication.
Secret recommendedDefault: none
aws_sts_external_id
stringoptionalThe external ID for assuming a role with STS.
Default: none
aws_role_arn
stringoptionalThe ARN of the AWS role to assume.
Default: none
aws_region
stringoptionalThe AWS region for deployment.
Default: none
template_file_path
stringrequiredThe path to the SAM template file.
Default: none
stack_name
stringrequiredThe name of the AWS CloudFormation stack.
Default: none
build_command_options
stringoptionalAdditional options for the sam build command.
Default: none
s3_bucket
stringrequiredThe S3 bucket for deployment artifacts.
Default: none
session_name
stringoptionalSession name for AWS.
Default: sam-deploy-plugin
deploy_command_options
stringoptionalAdditional options for the sam deploy command.
Default: none