Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cf ¶
func Cf(cfg Config) *cloudformation.CloudFormation
Types ¶
type Config ¶
type Config struct {
Settings settingsConfig
Parameters map[string]string
Stacks map[string]StackConfig
Hooks struct {
Pre stackassembly.HookCmds
Post stackassembly.HookCmds
PreSync stackassembly.HookCmds
PostSync stackassembly.HookCmds
PreCreate stackassembly.HookCmds
PostCreate stackassembly.HookCmds
PreUpdate stackassembly.HookCmds
PostUpdate stackassembly.HookCmds
}
}
Config is a struct holding stacks configurations
func LoadConfig ¶
func (Config) ChangeSetFromStackConfig ¶
func (cfg Config) ChangeSetFromStackConfig(stackCfg StackConfig) (*stackassembly.ChangeSet, error)
func (Config) ChangeSets ¶
func (cfg Config) ChangeSets() ([]*stackassembly.ChangeSet, error)
func (Config) StackConfigsSortedByExecOrder ¶
func (cfg Config) StackConfigsSortedByExecOrder() ([]StackConfig, error)
type StackConfig ¶
type StackConfig struct {
Name string
Path string
Parameters map[string]string
Tags map[string]string
DependsOn []string
Blocked []string
Hooks struct {
PreSync stackassembly.HookCmds
PostSync stackassembly.HookCmds
PreCreate stackassembly.HookCmds
PostCreate stackassembly.HookCmds
PreUpdate stackassembly.HookCmds
PostUpdate stackassembly.HookCmds
}
RollbackConfiguration *cloudformation.RollbackConfiguration
Capabilities []string
}
Click to show internal directories.
Click to hide internal directories.