Module: Awspec::Helper::Finder::Cloudformation

Included in:
Awspec::Helper::Finder
Defined in:
lib/awspec/helper/finder/cloudformation.rb

Instance Method Summary collapse

Instance Method Details

#find_cloudformation_stack(id) ⇒ Object



6
7
8
9
10
11
# File 'lib/awspec/helper/finder/cloudformation.rb', line 6

def find_cloudformation_stack(id)
  res = cloudformation_client.describe_stacks({
                                                stack_name: id
                                              })
  res.stacks.single_resource(id)
end