Module: AwsCftTools::Runbooks::Deploy::Templates

Included in:
AwsCftTools::Runbooks::Deploy
Defined in:
lib/aws_cft_tools/runbooks/deploy/templates.rb

Overview

module with methods to manage ordering of templates

Instance Method Summary collapse

Instance Method Details

#template_folder_orderObject



25
26
27
# File 'lib/aws_cft_tools/runbooks/deploy/templates.rb', line 25

def template_folder_order
  options[:template_folder_priorities] || []
end

#templatesObject

list the templates in-scope for this deployment



13
14
15
16
17
18
19
20
21
22
23
# File 'lib/aws_cft_tools/runbooks/deploy/templates.rb', line 13

def templates
  @templates ||= begin
    candidates = client.templates

    candidates.closure(
      filtered_templates(
        candidates
      )
    )
  end
end