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



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

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