Skip to content

Commit

Permalink
Include Metadata section
Browse files Browse the repository at this point in the history
  • Loading branch information
mweagle committed Nov 15, 2020
1 parent c91744c commit d51cfb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions template.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ func NewTemplate() *Template {
Resources: map[string]*Resource{},
Outputs: map[string]*Output{},
Conditions: map[string]interface{}{},
Metadata: map[string]interface{}{},
}
}

// Template represents a cloudformation 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"`
Expand Down

0 comments on commit d51cfb7

Please sign in to comment.