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.60.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.59.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.58.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.57.1 lib/awspec/helper/finder/autoscaling.rb
awspec-0.57.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.56.1 lib/awspec/helper/finder/autoscaling.rb
awspec-0.56.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.55.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.54.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.52.4 lib/awspec/helper/finder/autoscaling.rb
awspec-0.52.3 lib/awspec/helper/finder/autoscaling.rb
awspec-0.52.2 lib/awspec/helper/finder/autoscaling.rb
awspec-0.52.1 lib/awspec/helper/finder/autoscaling.rb
awspec-0.52.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.51.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.50.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.49.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.48.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.47.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.46.0 lib/awspec/helper/finder/autoscaling.rb