From d51cfb7c4fd28dab423f8e9070da95b314b528f0 Mon Sep 17 00:00:00 2001 From: Matt Weagle Date: Sun, 15 Nov 2020 14:52:19 -0800 Subject: [PATCH] Include Metadata section --- template.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/template.go b/template.go index 2ae7cdf..560ed53 100644 --- a/template.go +++ b/template.go @@ -16,6 +16,7 @@ func NewTemplate() *Template { Resources: map[string]*Resource{}, Outputs: map[string]*Output{}, Conditions: map[string]interface{}{}, + Metadata: map[string]interface{}{}, } } @@ -23,6 +24,7 @@ func NewTemplate() *Template { type Template struct { AWSTemplateFormatVersion string `json:",omitempty"` Description string `json:",omitempty"` + Metadata map[string]interface{} `json:",omitempty"` Mappings map[string]*Mapping `json:",omitempty"` Parameters map[string]*Parameter `json:",omitempty"` Transform []string `json:",omitempty"`