Sha256: fbebde38f04f1c31ed733723b355e1091d03499886ba12df6de5fe081d66a3d4

Contents?: true

Size: 434 Bytes

Versions: 13

Compression:

Stored size: 434 Bytes

Contents

module Awspec::Helper
  module Finder
    module AutoScaling
      def find_auto_scaling_group(id)
        res = @auto_scaling_client.describe_auto_scaling_groups({
                                                                  auto_scaling_group_names: [id]
                                                                })
        res[:auto_scaling_groups][0] if res[:auto_scaling_groups].count == 1
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
awspec-0.9.0 lib/awspec/helper/finder/auto_scaling.rb
awspec-0.8.1 lib/awspec/helper/finder/auto_scaling.rb
awspec-0.8.0 lib/awspec/helper/finder/auto_scaling.rb
awspec-0.7.0 lib/awspec/helper/finder/auto_scaling.rb
awspec-0.6.4 lib/awspec/helper/finder/auto_scaling.rb
awspec-0.6.3 lib/awspec/helper/finder/auto_scaling.rb
awspec-0.6.2 lib/awspec/helper/finder/auto_scaling.rb
awspec-0.6.1 lib/awspec/helper/finder/auto_scaling.rb
awspec-0.6.0 lib/awspec/helper/finder/auto_scaling.rb
awspec-0.5.0 lib/awspec/helper/finder/auto_scaling.rb
awspec-0.4.1 lib/awspec/helper/finder/auto_scaling.rb
awspec-0.4.0 lib/awspec/helper/finder/auto_scaling.rb
awspec-0.3.0 lib/awspec/helper/finder/auto_scaling.rb