Releases: monken/cfn-include
Releases · monken/cfn-include
v1.5.0
- Add optional index variable to
Fn::MapandFn::Lengthto obtain the length of a list (@arjanvandervelde) - Add
Fn::DeepMerge(@nmccready)
v1.4.2
v1.0.1
Breaking changes:
aws-sdkis now a peer dependency- dropped support for NodeJS 4 and 6
Features:
- you can now provide a
--bucketparameter 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
!GetCidrto!Cidrafter 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
!GetCidrintrinsic 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
Metadatakey in the output template. If you want to depend on this feature, pass the--metadataflag. See #30. - Previously, we used
requestto load includes from HTTP and HTTPS endpoints. This has now been replaced with the node built-inhttpandhttpslibraries.
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
apitype now recognizes the AWS region provided by theAWS_REGIONandAWS_DEFAULT_REGIONenvironmental variables. If none are defined, it defaults tous-east-1. Fn::Mergewill now merge it's output into its parent object instead of replacing it
v0.10.0
v0.9.0
New Feature:
- new
type: stringintroduced (thanks to @rschick) which makes it easier to include files as strings for use withFn::Suband without the infamousFn::Joinsyntax.
Deprecated:
type: literalis deprecated asFn::Submade working with Refs so much easier. Check outtype: string, I've also updated the README to usetype: stringeverywhere.- 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.