Documentation
¶
Index ¶
Constants ¶
View Source
const Version1_0 = "1.0"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Deployment ¶
type Deployment struct {
// AccountId is an AWS account ID to check the profile against.
AccountId string
// Region is an AWS region, if different from the profile's default.
Region string
// Template is the path of a template file relative to Config.
Template string
// Parameter contains paths to parameter files and direct overrides.
Parameters []*Parameter
// StackName can include substitutions (as Go templates).
StackName string
// Protected deployments ignore the --yes flag.
Protected *bool
}
func (*Deployment) ApplyTemplate ¶
func (d *Deployment) ApplyTemplate(tpl *Template) (err error)
func (*Deployment) MergeFrom ¶
func (d *Deployment) MergeFrom(other *Deployment)
type Global ¶
type Global struct {
Constants map[string]string
Tags map[string]string
Default *Deployment
}
type Manifest ¶
type Manifest struct {
Version string `json:"Version"`
Global Global
Tenants []*Tenant
Stacks []*Stack
}
func (*Manifest) AllDeployments ¶
type Parameter ¶
type Parameter struct {
// File is the path of a parameter file relative to Config.
File string
Key string
Value string
}
func (*Parameter) ApplyTemplate ¶
type ProcessInput ¶
type Target ¶
type Target struct {
Tenant string
Override *Deployment
}
Click to show internal directories.
Click to hide internal directories.