Documentation ¶
Index ¶
- func DeleteStack(client cloudformation.StackDeleter, stackName, region string)
- func GenerateTemplate(params cloudformation.GenerateParams)
- func GenerateYamlTemplate(params cloudformation.GenerateParams) ([]byte, cloudformation.YamlCloudformation)
- func GetCloudformationClient(profile string, region string) (string, *cloudformation.CloudFormation)
- func PrintStackEvent(event *awsCF.StackEvent, isLast bool)
- func PrintStackEventHeader()
- func PrintStackEvents(eventer cloudformation.StackEventer, stackName string)
- func UpsertStackBody(templateBody []byte, parameters []*awsCF.Parameter, capabilities []*string, ...)
- func UpsertStackURL(templateURL string, parameters []*awsCF.Parameter, capabilities []*string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteStack ¶
func DeleteStack(client cloudformation.StackDeleter, stackName, region string)
DeleteStack removes a cloudformation stack
func GenerateTemplate ¶
func GenerateTemplate(params cloudformation.GenerateParams)
GenerateTemplate and save it to disk, without upserting it
func GenerateYamlTemplate ¶
func GenerateYamlTemplate(params cloudformation.GenerateParams) ([]byte, cloudformation.YamlCloudformation)
GenerateYamlTemplate and return both the raw data as []byte, but also the cloudformation yaml object
func GetCloudformationClient ¶
func GetCloudformationClient(profile string, region string) (string, *cloudformation.CloudFormation)
GetCloudformationClient from the standard credential chain
func PrintStackEvent ¶
func PrintStackEvent(event *awsCF.StackEvent, isLast bool)
PrintStackEvent prints a single event
func PrintStackEvents ¶
func PrintStackEvents(eventer cloudformation.StackEventer, stackName string)
PrintStackEvents outputs the events of a stack TODO: add flags to allow printing all events, and default only to recent events
func UpsertStackBody ¶ added in v0.3.5
func UpsertStackBody( templateBody []byte, parameters []*awsCF.Parameter, capabilities []*string, stackName string, client cloudformation.StackUpserter, tags map[string]string, confirm bool, )
func UpsertStackURL ¶ added in v0.3.5
func UpsertStackURL( templateURL string, parameters []*awsCF.Parameter, capabilities []*string, stackName string, client cloudformation.StackUpserter, tags map[string]string, confirm bool, )
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.