All notable changes to this project will be documented in this file. For change log formatting, see http://keepachangelog.com/
- Updated error message on stack monitoring failure
- Updated nyc and eslint dev-dependencies
- Updated version of cfn-stack-event-stream reduces the number of Cloudformation API requests made during stack creation and update.
- Create stacks via CloudFormation ChangeSets instead of CreateStack API
- Remove unused internal functions
commands.operations.createStack
actions.create
actions.update
- Allow template body as parameter to create/update
- Upgrades all depencies to latest versions. Ensures compatibility with Node 6 and Node 8.
- Fixes a bug in changeset polling / pagination that could result in duplicate console output
- Add support for
UPDATE_ROLLBACK_COMPLETE
status in Cloudformation events
- Use stack's AWS region when looking up config bucket location
- Implement the possibility of external parameter validation: mapbox#157
- Implement pagination in describeChangeset
- Update prompt.confirm function to allow y/n option to default to No
- Default stack update & delete confirmation to No
- Print notice when parameter changes are auto-confirmed
- specifies region for GetBucketLocation call during
commands.create
- Automatically save stack configurations to S3 after create or update.
- Adds support for
overrides.preapproved
. Providing this object allows a higher-level function to prevent cfn-config from prompting the user to confirm changes that have already been confirmed in another region.
- Adds support for
DELETE_SKIPPED
status in CloudFormation events printed after an update or delete.
- Adds
skipPromptParameters
,skipConfirmParameters
andskipConfirmTemplate
flags to skip individual prompt operations.
- Adds
.preauth()
method, allowing you to provide a set of AWS credentials to be used in subsequent calls to cfn-config functions.
- Fix fetching more than 100 stack resources in lookup.getResorces by using listStackResources instead of describeStackResources
- Internal: move test aws mocking to @mapbox/mock-aws-sdk-js
- Assure stable template diffs
- Avoids re-encryption of
secure:
variables that are specified in a master config file
- Add
--parameters
flag to cfn-config command for providing stack parameters as JSON
- Fixes a bug in displaying the differences in templates during an UpdateStack command
- Bump to 2.0.0 version of Inquirer
- Adds optional
overrides.metadata
option for setting arbitrary Metadata key/value pairs on a CloudFormation template.
- Package is on @mapbox namespace
- Includes new Cloudformation capabilities(mapbox#126)
- V4 signatureVersion on aws-sdk requests
- Specifying a masterConfig will replace default (oldParameters) values
- Add recognition + color-coding for previously unrecognized CloudFormation ROLLBACK states
- Changes s3 templateUrl for
cn
region to use a.
instead of a-
- Commands that are aborted by the user (e.g. a rejected diff) will provide
false
as the second argument the callback function. If the command was entirely completed,true
will be provided.
- Update region handling of S3 URLs for dash syntax. Fixes deploys to
eu-central-1
- Adds
--decrypt
flag toinfo
command and related APIs to decrypt secure stack parameters.
- Fixes a bug in parameter prompting where a saved configuration that specifies a default value outside the parameter's allowed values caused a crash.
- During update, ignore overridden parameters that aren't in either the old or new template
- Fix a bug where region for KMS encryption was not passed properly
- BREAKING Rewritten from the ground up.
- Fix bug with template diff
- Remove Config file prompt when updating a stack
- Update to
json-diff
for colored diff output
- Support for AWS China
cfn-dump
outputs template to stdout.
- BREAKING Change
readFile
method to accept a single options object and a callback. - Support asynchronous javascript templates.
- Added
readSavedConfig
method
- fix template path resolution bug in writeConfiguration
config.resolveTemplatePath
Uses correct prefix to find the.cfn.json
files
cfn-update -f
checking improved, no longer overriddes other options in othercfn-config
commands likecfn-create -c -f
cfn-delete
outputs full progress
- Fix
writeConfiguration
to use bucket region
- Fix to find cfn templates on s3 if local template is either name.template.js or name.template
- Pass
configDetails
tobeforeUpdate
functions so that they can use future config in their actions
- Respect
options.force
in updateStack to allow for non-interactive stack updates (CI testing) - Fix bad logic in parameter comparison between null and falsey values
- Fix undefined variable from change in 0.7.0
- Look for AWS_ACCOUNT_ID environment variable before calling IAM.GetUser
- Support JS module templates using the
.js
extension
- config.config.updateStack optionally takes a beforeUpdate function
- config.stackInfo returns Region
- Bump aws-sdk to v2.1.7