tasks

package
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2018 License: MIT Imports: 17 Imported by: 0

Documentation

Index

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 PrintStackEventHeader

func PrintStackEventHeader()

PrintStackEventHeader prints the header

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL