Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var CloudFormationStackFlags = []cli.Flag{ cli.StringFlag{ Name: "region, r", Usage: "region to deploy to eg `us-east-1`", }, cli.StringFlag{ Name: "stack-name", Usage: "stack name to deploy [Default: ProjectName-Filename-Environment] eg `StackName-Environment`", }, cli.StringFlag{ Name: "environment, e", Usage: "environment config to use from ./kombustion.yaml eg `production`", }, }
CloudFormationStackFlags for tasks relating to CRUD of cloudformation stacks
var DeleteFlags = []cli.Flag{}
DeleteFlags for use with the delete taks
var GenerateFlags = []cli.Flag{ cli.StringSliceFlag{ Name: "param, p", Usage: "cloudformation parameters. eg. `--param Env=dev --param BucketName=test`", }, cli.BoolFlag{ Name: "generate-default-outputs, b", Usage: "disable generation of outputs for Base AWS types", }, cli.StringFlag{ Name: "read-parameters", Usage: "Read parameters from a file", }, cli.BoolFlag{ Name: "write-parameters, w", Usage: "Write parameters to a file", }, cli.StringFlag{ Name: "output-directory, d", Usage: "Directory to write generated yaml to", Value: "compiled", }, }
GenerateFlags for kombustion upsert
var GlobalFlags = []cli.Flag{ cli.BoolFlag{ Name: "verbose", Usage: "output with high verbosity", }, cli.StringSliceFlag{ Name: "param, p", Usage: "cloudformation parameters `BucketName=test`", }, cli.StringFlag{ Name: "profile", Usage: "use a profile from ~/.aws/credentials eg `MyProfile`", }, cli.StringFlag{ Name: "manifest-file", Usage: "location of the manifest file, defaults to `kombustion.yaml`", Value: "kombustion.yaml", }, }
GlobalFlags for all tasks
var InitManifestFlags = []cli.Flag{ cli.StringFlag{ Name: "name, n", Usage: "Set the name of the project", }, cli.StringFlag{ Name: "environments", Usage: "comma seperated environments eg: production,development", }, }
InitManifestFlags - Flags that will prevent prompts
var UpdateFlags = []cli.Flag{ cli.BoolFlag{ Name: "y", Usage: "dont prompt if there is an update", }, }
UpdateFlags - Flags that will prevent prompts
var UpsertFlags = []cli.Flag{ cli.StringSliceFlag{ Name: "param, p", Usage: "cloudformation parameters. eg `BucketName=test`", }, cli.StringSliceFlag{ Name: "tag, t", Usage: "tags to add to cloudformation stack. eg `CostCenter=example`", }, cli.BoolFlag{ Name: "generate-default-outputs, b", Usage: "disable generation of outputs for Base AWS types", }, cli.StringFlag{ Name: "read-parameters", Usage: "Read parameters from a file", }, cli.BoolFlag{ Name: "iam, i", Usage: "gives the capability to perform upserts of IAM resources", }, cli.StringSliceFlag{ Name: "capability", Usage: "set capabilities for the upsert eg `CAPABILITY_IAM`", }, cli.BoolFlag{ Name: "confirm", Usage: "Manually confirm required changes before applying", }, }
UpsertFlags for kombustion upsert
Functions ¶
func AddPluginToManifest ¶
AddPluginToManifest file and update it
func InitialiseNewManifestTask ¶ added in v0.3.5
InitaliseNewManifestTask - Create a new manifest file, and prompt to fill out the default required fields
func InstallPlugins ¶
InstallPlugins to reconcile the manifest to the lock file, and then the lock file to the disk Which is to say, ensure the manifest and lock file agree with the state of the plugins and then ensure the lock file agrees with the disk on the state of the plugins
Types ¶
This section is empty.