Sign inSign up

squareworks/aws-sam-cli

By squareworks

•Updated about 4 years ago

Alpine AWS SAM CLI, supports Java, NodeJS and Python SAM projects

Image
0

2.7K

squareworks/aws-sam-cli repository overview

This is being used by BitBucket pipelines to deploy AWS SAM projects. CLI is installed using pip (Python v3.7).

You can view the source here: https://bitbucket.org/SquareWorks/sw-aws-sam-cli-alpine-docker/src/master/⁠

Example bitbucket-pipelines.yml file:

image: squareworks/aws-sam-cli
pipelines:
  default:
    - step:
        name: Build, Test & Deploy to Dev
        script:
          - sam build
          - sam package --output-template-file packaged.yaml --s3-bucket sw-aws-sam
          - sam deploy --template-file packaged.yaml --region us-east-1 --stack-name my-stack-name-dev
        artifacts:
          - packaged.yaml
    - step:
        name: Deploy to Production
        trigger: manual
        script:
          - sam deploy --template-file packaged.yaml --region us-east-1 --stack-name my-stack-name-prod

Tag summary

Content type

Image

Digest

sha256:d25a874f7…

Size

387.6 MB

Last updated

about 4 years ago

docker pull squareworks/aws-sam-cli