Skip to content

mdecoleman/cloudformation-changeset

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

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudFormation Change Set

GitHub Action that creates, deletes and executes CloudFormation change sets.

Usage

Create

- uses: mdecoleman/cloudformation-changeset@v1
  with:
    method: create
    stack_name: "some-stack"
    template_file: "./path/to/template.yml"
    aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
    aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
    aws_region: "eu-west-1"
    parameters: Runtime=nodejs8.10,Role=arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole

Delete

- uses: mdecoleman/cloudformation-changeset@v1
  with:
    method: delete
    stack_name: "some-stack"
    changeset_name: "some-changeset-name"
    aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
    aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
    aws_region: "eu-west-1"

Execute

- uses: mdecoleman/cloudformation-changeset@v1
  with:
    method: execute
    stack_name: "some-stack"
    changeset_name: "some-changeset-name"
    aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
    aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
    aws_region: "eu-west-1"

For documentation of available inputs and outputs see action.yml

License

The scripts and documentation in this project are released under the MIT License

About

GitHub Action that creates, updates, deletes and applies CloudFormation change sets

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published