Releases: monken/cfn-include
Releases · monken/cfn-include
v1.5.0
- Add optional index variable to
Fn::Map
andFn::Length
to obtain the length of a list (@arjanvandervelde) - Add
Fn::DeepMerge
(@nmccready)
v1.4.2
v1.0.1
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
- Renamed
!GetCidr
to!Cidr
after AWS changed their mind on how to name that function 😞 (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-cidr.html)
v0.11.2
- Added
!GetCidr
intrinsic function to the schema (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getcidr.html)
v0.11.1
v0.11.0
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-inhttp
andhttps
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 theAWS_REGION
andAWS_DEFAULT_REGION
environmental variables. If none are defined, it defaults tous-east-1
. Fn::Merge
will now merge it's output into its parent object instead of replacing it
v0.10.0
v0.9.0
New Feature:
- new
type: string
introduced (thanks to @rschick) which makes it easier to include files as strings for use withFn::Sub
and without the infamousFn::Join
syntax.
Deprecated:
type: literal
is deprecated asFn::Sub
made working with Refs so much easier. Check outtype: string
, I've also updated the README to usetype: 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.