Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

AWS SAM Deploy Action

License

NotificationsYou must be signed in to change notification settings

ankit2web/sam-deploy-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This action deploys AWS SAM Stacks through yaml files.

Usage

name:"Deploy SAM Stack to Production"on:push:branches:    -masterjobs:deploy:runs-on:ubuntu-lateststeps:    -uses:actions/checkout@v1    -uses:actions/setup-node@v1with:node-version:'10.x'    -run:for d in */ ; do cd $d && npm install --no-package-lock --loglevel=error && cd .. ; done    -uses:r0zar/sam-deploy-action@v1.4env:TEMPLATE:'template.yaml'AWS_STACK_NAME:prod-${{ github.actor }}-resourcefulAWS_REGION:'us-east-1'AWS_ACCESS_KEY_ID:${{ secrets.AWS_ACCESS_KEY_ID }}AWS_SECRET_ACCESS_KEY:${{ secrets.AWS_SECRET_ACCESS_KEY }}AWS_DEPLOY_BUCKET:${{ secrets.AWS_DEPLOY_BUCKET }}

Environment Variables

  • TEMPLATE - [Optional]. YML file containing CloudFormation Stack.
    • Type:string
    • Default:template.yml
  • CAPABILITIES - [Optional]. AWS Stack Capabilites.
    • Type:string
    • Default:CAPABILITY_IAM
  • AWS_STACK_NAME - [Required]. The Stack name that is going to be published.
    • Type:string
  • AWS_REGION - [Required]. AWS Region where to deploy the CloudFormation Stack.
    • Type:string
  • AWS_ACCESS_KEY_ID - [Required]. AWS Access Key Id.
    • Type:string
  • AWS_SECRET_ACCESS_KEY - [Required]. AWS Secret Access Key.
    • Type:string
  • AWS_DEPLOY_BUCKET - [Required]. AWS S3 Bucket where the Stack package is going to be stored.
    • Type:string
  • AWS_BUCKET_PREFIX - [Optional]. S3 Bucket's folder where to upload the package.
    • Type:string
  • FORCE_UPLOAD - [Optional]. Whether to override existing packages in case they are an exact match.
    • Type:boolean
  • USE_JSON - [Optional]. Whether to use JSON instead of YML as the output template format.
    • Type:boolean
  • PARAMETER_OVERRIDES - [Optional]. Parameters to input in the template.
    • Type:string | list[string]
    • Syntax:AliasName=prodAliasName=prod ApiUrl=https://api.com/api/v1
  • TAGS - [Optional]. Tags to assign.
    • Type:string | list[string]
    • Syntax:Environment=prodName=infrastructure

Examples

  • An implementation example can be foundhere.

License

The Dockerfile and associated scripts and documentation in this project are released under theMIT License.

About

AWS SAM Deploy Action

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell76.8%
  • Dockerfile23.2%

[8]ページ先頭

©2009-2025 Movatter.jp