cfnparse

package
v1.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2020 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseTemplate

func ParseTemplate(pyEnv, path string, out interface{}) error

Parse a CloudFormation template and unmarshal into the out parameter. The caller can pass map[string]interface{} or a struct if the format is known.

Short-form functions like "!If" and "!Sub" will be replaced with "Fn::" objects.

func WriteTemplate

func WriteTemplate(cfn map[string]interface{}, path string) error

Save the CloudFormation structure as a .yml file.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL