CFNgin build action.
Build a common set of tags to attach to a stack.
Test whether a stack should be submitted for updates to CloudFormation.
Test whether a stack should be submitted to CF for update/create.
Test whether access to the cloudformation template bucket is required.
Class used to indicate a Parameter should use it’s existing value.
handle_hooks(stage, hooks, provider, context, dump, outline)¶
Handle pre/post hooks.
stage (str) – The name of the hook stage - pre_build/post_build.
hooks (list) – A list of dictionaries containing the hooks to execute.
runway.cfngin.providers.base.BaseProvider) – The provider the current stack is using.
runway.cfngin.context.Context) – The current CFNgin context.
dump (bool) – Whether running with dump set or not.
outline (bool) – Whether running with outline set or not.
Action(context, provider_builder=None, cancel=None)¶
Responsible for building & coordinating CloudFormation stacks.
Generates the build plan based on stack dependencies (these dependencies are determined automatically based on output lookups from other stacks).
The plan can then either be printed out as an outline or executed. If executed, each stack will get launched in order which entails:
Pushing the generated CloudFormation template to S3 if it has changed
Submitting either a build or update of the given stack to the
DESCRIPTION= 'Create/Update stacks'¶
Build the CloudFormation Parameters for our stack.
Any steps that need to be taken prior to running the action.
Kicks off the build/update of the stacks in the stack_definitions.
This is the main entry point for the Builder.
Any steps that need to be taken after running the action.