Skip to content

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

License

Notifications You must be signed in to change notification settings

easen-amp/cloudformation-changeset

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%