Top Level Namespace
Defined Under Namespace
Modules: Rake
Instance Method Summary collapse
- #cfn_get_stack_output(stack_name, region, output_key) ⇒ Object
- #cfn_stack(args, &block) ⇒ Object
- #cfn_stack_output(*args) ⇒ Object
Instance Method Details
#cfn_get_stack_output(stack_name, region, output_key) ⇒ Object
79 80 81 |
# File 'lib/rake/cloud_formation.rb', line 79 def cfn_get_stack_output(stack_name, region, output_key) Rake::CloudFormation::Service.cf(region).stacks[stack_name].outputs.detect { |o| o.key === output_key }.value end |
#cfn_stack(args, &block) ⇒ Object
75 76 77 |
# File 'lib/rake/cloud_formation.rb', line 75 def cfn_stack(args, &block) Rake::CloudFormation::Stack.define_task(args, &block) end |
#cfn_stack_output(*args) ⇒ Object
83 84 85 |
# File 'lib/rake/cloud_formation.rb', line 83 def cfn_stack_output(*args) Proc.new { cfn_get_stack_output(*args) } end |