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
- #template_folder_order ⇒ Object
-
#templates ⇒ Object
list the templates in-scope for this deployment.
Instance Method Details
#template_folder_order ⇒ Object
25 26 27 |
# File 'lib/aws_cft_tools/runbooks/deploy/templates.rb', line 25 def template_folder_order [:template_folder_priorities] || [] end |
#templates ⇒ Object
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 |