Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
cfn-create-or-update
Advanced tools
Create or update CloudFormation stack also if no updates are to be performed.
When integrating CloudFormation into your CI/CD pipeline you are faced with the challenge of creating a CloudFormation stack on the first run of the pipeline, while you need to update the stack for all following pipeline runs. If you use the AWS CLI this is painful. You may also have your code and template in the same repository. Therefore code changes without the template. But the AWS CLI threats an update without changes to a stack as an error which is not the behavior that you need in your pipeline.
cfn-create-or-update
can create or update a CloudFormation stack. If no updates are to be performed, no error is thrown. cfn-create-or-update
behaves exactly as the AWS CLI regarding input values, output will be different.
To install the CLI tool cfn-create-or-update
, run:
npm install -g cfn-create-or-update
TO create or update a stack, run:
cfn-create-or-update --stack-name test --template-body file://template.yml
The first time you run this command, a stack will be created. The second time an update will be performed but only if the template has changes.
cfn-create-or-update
behaves exactly as the AWS CLI regarding input values. Supported parameters (as documented in the AWS CLI create-stack or update-stack):
cfn-create-or-update
--stack-name
--template-body
--template-url
--parameters
--capabilities
--resource-types
--role-arn
--stack-policy-body
--stack-policy-url
--notification-arns
--tags
Global parameters (as documented in the AWS CLI
--profile
--region
Only used during create, otherwise ignored (as documented in the AWS CLI create-stack):
--disable-rollback | --no-disable-rollback
--timeout-in-minutes
--on-failure
Only used during update, otherwise ignored (as documented in the AWS CLI update-stack):
--use-previous-template | --no-use-previous-template]
--stack-policy-during-update-body
--stack-policy-during-update-url
Additional parameters
---wait
If you want to create a Pull-Request please make sure that make test
runs without failures.
make jshint
make mocha
make circular
make coverage
open coverage/lcov-report/index.html
FAQs
Create or update CloudFormation stack also if no updates are to be performed.
The npm package cfn-create-or-update receives a total of 324 weekly downloads. As such, cfn-create-or-update popularity was classified as not popular.
We found that cfn-create-or-update demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.