Wait for a CloudFormation stack to be ready for the next deploy
npm install @vivianhealth/aws-cloudformation-wait-readyaws-cloudformation-wait-ready



A fork of CumulusDS/aws-cloudformation-wait-ready
written in typescript and updated for Node 18.
This utility waits until an AWS CloudFormation Stack is ready to update.
It is similar to aws cloudformation wait stack-update-complete but waits
for any stack status where an update should be allowed. A feature request
for a similar feature from the aws cli
has been filed, but not implemented. The feature is useful for CI scripts
that test deployment readiness.
- Node >=18
- AWS auth via environment variables or instance profile
The following command will allow you run the CLI tool without having to explicitly
install it as long as npm is installed.
``bash`
npx -y -p @vivianhealth/aws-cloudformation-wait-ready@latest \
aws-cloudformation-wait-ready \
--stack-name
To install and lock in a specific version into your project dependencies (recommended):
`bash`
npm install --save-dev @vivianhealth/aws-cloudformation-wait-ready
And then to run the CLI tool inside your project directory:
`bash`
npx aws-cloudformation-wait-ready \
--stack-name
This package is automatically published to npm via CI. Versions are bumped automatically based on commits
since the last release using semantic-release and conventional-changelog.
Commit message format is important. See conventional commits.
This format is enforced via git hooks.
This package is MIT licensed.
It was originally forked from CumulusDS/aws-cloudformation-wait-ready`