Skip to content

Releases: monken/cfn-include

v1.5.0

07 Dec 00:24
Compare
Choose a tag to compare
  • Add optional index variable to Fn::Map and Fn::Length to obtain the length of a list (@arjanvandervelde)
  • Add Fn::DeepMerge (@nmccready)

v1.4.2

02 Oct 22:19
Compare
Choose a tag to compare
  • Add support for Fn::Sequence

v1.0.1

11 Nov 16:18
Compare
Choose a tag to compare

Breaking changes:

  • aws-sdk is now a peer dependency
  • dropped support for NodeJS 4 and 6

Features:

  • you can now provide a --bucket parameter which allows you to validate templates > 50k
  • Validation errors are now pretty-printed without a full stack trace

Housekeeping:

  • replace nomnom with yargs

v0.11.3

12 Mar 11:25
Compare
Choose a tag to compare

v0.11.2

07 Mar 13:45
Compare
Choose a tag to compare

v0.11.1

07 Mar 13:46
Compare
Choose a tag to compare
  • Fixed broken response when using --validate

v0.11.0

04 Mar 21:38
Compare
Choose a tag to compare

Breaking Changes:

  • With this release we are dropping support for NodeJS < 4.0.0.
  • We no longer create a Metadata key in the output template. If you want to depend on this feature, pass the --metadata flag. See #30.
  • Previously, we used request to load includes from HTTP and HTTPS endpoints. This has now been replaced with the node built-in http and https libraries.

Features:

  • When outputting to yaml, keys are now sorted. This will allow to generate meaningful diffs between templates.
  • templates can now be read from stdin e.g. passed from another preprocessor without writing to a temporary file: cat mytemplate.yml | cfn-include --validate --yaml
  • the api type now recognizes the AWS region provided by the AWS_REGION and AWS_DEFAULT_REGION environmental variables. If none are defined, it defaults to us-east-1.
  • Fn::Merge will now merge it's output into its parent object instead of replacing it

v0.10.0

13 Sep 16:33
Compare
Choose a tag to compare

New Features:

  • Fn::Stringify takes a data structure and converts it into a JSON string

Bug Fixes:

  • do not exit the process in module code and capture unhandled exceptions in cli.js, #fixes 28

v0.9.0

11 Apr 05:25
Compare
Choose a tag to compare

New Feature:

  • new type: string introduced (thanks to @rschick) which makes it easier to include files as strings for use with Fn::Sub and without the infamous Fn::Join syntax.

Deprecated:

  • type: literal is deprecated as Fn::Sub made working with Refs so much easier. Check out type: string, I've also updated the README to use type: string everywhere.
  • Node < v4 is deprecated. AWS Lambda has deprecated their v0.10.42 runtime as well which was the only reason this module is still supporting this old version.

Fixed Bugs:

  • If the included file was empty, cfn-include would go into an infinite loop. That has been fixed.

v0.8.3

19 Feb 13:33
Compare
Choose a tag to compare
  • cfn-include --version now exits with an exit code of 0
  • YAML syntax now supports the shorthand !GetAtt Role.Arn which previously would have been written as !GetAtt [Role, Arn]
  • Added support for !Split