New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

cftpl

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cftpl

Add Mustache templating to AWS CLoudFormation

Source
npmnpm
Version
0.1.3
Version published
Maintainers
2
Created
Source

Build Status

What

cftpl is a commandline utility to add a template engine (Mustache) to AWS CloudFormation

Usage

  • Install: npm install -g cftpl
  • Execution: cftpl <create|update> <template_path> <profile> [dryrun]

Parameters:

  • create to create a new stack, update to update an existing stack using the same name
  • template_path yep the path to your AWS CloudFormation template (json or YAML)
  • profile is the AWS profile to use to call CloudFormation (this is the only supported credential settings)
  • dryrun if you specify this parameter, CloudFormation will not be called

How to write a template

The templating engine is Mustache, refer to Mustache' suser manual.

  • Check test/templates/simple-sns.yaml for a fully documented how-to write a template
  • Check test/gtemplates/test-api-gateway/stack.tpl to see how to load external files in the template

Notes:

  • The name of the stack is in the template metadata

FAQs

Package last updated on 07 Nov 2017

Did you know?

Socket

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.

Install

Related posts