Class: AwsCftTools::Runbooks::Deploy

Inherits:
AwsCftTools::Runbook show all
Extended by:
Forwardable
Includes:
Common::Changesets, Common::Templates, Reporting, Stacks, Templates, Threading
Defined in:
lib/aws_cft_tools/runbooks/deploy.rb,
lib/aws_cft_tools/runbooks/deploy/stacks.rb,
lib/aws_cft_tools/runbooks/deploy/reporting.rb,
lib/aws_cft_tools/runbooks/deploy/templates.rb,
lib/aws_cft_tools/runbooks/deploy/threading.rb

Overview

Deploy - manage CloudFormation stack deployment

Examples:

% aws-cft deploy -e QA               # deploy all templates to the QA environment
% aws-cft deploy -e Staging -n -v    # narrate the templates that would be used for Staging
% aws-cft deploy -e Production -c -v # narrate the changes that would go into Production

Defined Under Namespace

Modules: Reporting, Stacks, Templates, Threading

Instance Attribute Summary

Attributes inherited from AwsCftTools::Runbook

#client, #options

Instance Method Summary collapse

Methods included from Templates

#template_folder_order, #templates

Methods inherited from AwsCftTools::Runbook

#_run, #checking, #debug, #detail, #doing, #initialize, #narrative, #operation

Constructor Details

This class inherits a constructor from AwsCftTools::Runbook

Instance Method Details

#runObject



35
36
37
38
39
40
41
42
# File 'lib/aws_cft_tools/runbooks/deploy.rb', line 35

def run
  run_reports

  detail 'Updating template parameters...'
  update_parameters

  process_templates(options[:jobs] || 1)
end