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.70.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.69.1 lib/awspec/helper/finder/autoscaling.rb
awspec-0.69.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.68.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.67.1 lib/awspec/helper/finder/autoscaling.rb
awspec-0.67.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.66.2 lib/awspec/helper/finder/autoscaling.rb
awspec-0.66.1 lib/awspec/helper/finder/autoscaling.rb
awspec-0.66.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.65.2 lib/awspec/helper/finder/autoscaling.rb
awspec-0.65.1 lib/awspec/helper/finder/autoscaling.rb
awspec-0.65.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.64.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.63.1 lib/awspec/helper/finder/autoscaling.rb
awspec-0.63.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.62.1 lib/awspec/helper/finder/autoscaling.rb
awspec-0.62.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.61.1 lib/awspec/helper/finder/autoscaling.rb
awspec-0.61.0 lib/awspec/helper/finder/autoscaling.rb
awspec-0.60.1 lib/awspec/helper/finder/autoscaling.rb