Class: AwsCftTools::Runbooks::Init
- Inherits:
-
AwsCftTools::Runbook
- Object
- AwsCftTools::Runbook
- AwsCftTools::Runbooks::Init
- Defined in:
- lib/aws_cft_tools/runbooks/init.rb
Overview
Deploy - manage CloudFormation stack deployment
Constant Summary collapse
- DEFAULT_CONFIG =
The default project configuration file.
<<~EOF --- ### # Values in this file override the defaults in aws-cft. Command line options override these values. # # This is a good place to put project- or account-wide defaults for teams using the templates in this # repo. ### ### # By default, we want as much detail as possible. # :verbose: true ### # When different templates have nothing indicating their relative ordering, they are ordered based on the # directory/folder in which they appear ordered by this list. # :template_folder_priorities: - vpcs - networks - security - data-resources - data-services - applications EOF
- TEMPLATE_ROLES =
The template role directories to build out when creating a project.
%w[applications data-resources data-services networks security vpcs].freeze
- FILE_TYPES =
The different types of files used when managing templates and stacks.
%w[parameters templates].freeze
Instance Attribute Summary
Attributes inherited from AwsCftTools::Runbook
Instance Method Summary collapse
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
#run ⇒ Object
52 53 54 55 56 |
# File 'lib/aws_cft_tools/runbooks/init.rb', line 52 def run ensure_project_directory ensure_cloudformation_directories ensure_config_file end |