update-cloudformation-stack

command module
v0.0.0-...-8e47ddb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2026 License: ISC Imports: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Update CloudFormation Stack Parameters Action

This GitHub Action updates existing CloudFormation stack by changing some of its parameters while preserving all other settings.

Usage

- uses: artyom/update-cloudformation-stack@main
  with:
    stack: my-stack-name
    parameters: |
      Name1=value1
      Name2=value2

Inputs

  • stack - name of the CloudFormation stack to update
  • parameters - pairs of parameters in the Name=Value format, each pair on a separate line
  • express - optional, set to true to enable CloudFormation express mode

AWS Credentials

This action uses the AWS SDK default credential provider chain. Configure AWS credentials using standard GitHub Actions methods:

- uses: aws-actions/configure-aws-credentials@v4
  with:
    role-to-assume: arn:aws:iam::123456789012:role/my-role
    aws-region: us-east-1

AWS Permissions

This action requires the following permissions:

  • cloudformation:DescribeStacks
  • cloudformation:UpdateStack
  • cloudformation:DescribeStackEvents

Example

jobs:
  update-stack:
    runs-on: ubuntu-latest
    steps:
      - uses: aws-actions/configure-aws-credentials@v4
        with:
          role-to-assume: arn:aws:iam::123456789012:role/my-role
          aws-region: us-east-1
      - uses: artyom/update-cloudformation-stack@main
        with:
          stack: production-stack
          parameters: |
            ImageTag=v123

The action will monitor stack update progress and fail if update fails.

Known Limitations

This action doesn't work for stacks that rely on template transformations (stack template has non-empty “Transform” section).

On such stacks UpdateStack API call does not recognize parameters-only changes and the action reports there's nothing to update.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址