Sha256: 58c8d1eca4298cb3bd4ae3179abee0abf9607cbbcf59d3e18023a88fc04bb912

Contents?: true

Size: 739 Bytes

Versions: 81

Compression:

Stored size: 739 Bytes

Contents

module Awspec::Helper
  module Finder
    module Autoscaling
      def find_autoscaling_group(id)
        res = autoscaling_client.describe_auto_scaling_groups({
                                                                auto_scaling_group_names: [id]
                                                              })
        res.auto_scaling_groups.single_resource(id)
      end

      def find_launch_configuration(id)
        res = autoscaling_client.describe_launch_configurations({
                                                                  launch_configuration_names: [id]
                                                                })
        res.launch_configurations.single_resource(id)
      end
    end
  end
end

Version data entries

81 entries across 81 versions & 1 rubygems

Version Path
awspec-0.80.1 lib/awspec/helper/finder/autoscaling.rb
awspec-0.80.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.79.2 lib/awspec/helper/finder/autoscaling.rb
awspec-0.79.1 lib/awspec/helper/finder/autoscaling.rb
awspec-0.79.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.78.1 lib/awspec/helper/finder/autoscaling.rb
awspec-0.77.1 lib/awspec/helper/finder/autoscaling.rb
awspec-0.77.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.76.1 lib/awspec/helper/finder/autoscaling.rb
awspec-0.76.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.75.2 lib/awspec/helper/finder/autoscaling.rb
awspec-0.75.1 lib/awspec/helper/finder/autoscaling.rb
awspec-0.75.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.74.1 lib/awspec/helper/finder/autoscaling.rb
awspec-0.74.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.73.2 lib/awspec/helper/finder/autoscaling.rb
awspec-0.73.1 lib/awspec/helper/finder/autoscaling.rb
awspec-0.73.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.72.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.71.0 lib/awspec/helper/finder/autoscaling.rb