js-yaml-cloudformation-schema
Schema to allow js-yaml to process YAML formatted CloudFormation templates that use short form syntax for intrinsic functions while parsing or dumping, for example: !Ref
, !Base64
.
See tags.json for currently supported short form syntax for intrinsic functions, also known as local tags in the YAML spec.
This is a fork of yyolk/cloudformation-js-yaml-schema that changes the structure of the parsed JavaScript representation of the CloudFormation template to match the parsed representation of a JSON formatted CloudFormation template.
Usage
const yaml = ;const CLOUDFORMATION_SCHEMA = ; let templateBody = fs;templateBody = yaml;console; templateBody = yaml;console;