Sha256: 35e553795baab597874e5417e75aab079a9a9f24c32d662cf3e43216387dcadd
Contents?: true
Size: 603 Bytes
Versions: 6
Compression:
Stored size: 603 Bytes
Contents
require 'aws-sdk-autoscaling' require 'capistrano/autoscale/aws/autoscaling_credentials' module Capistrano module Autoscale module Aws module AutoscalingGroup include Capistrano::Autoscale::Aws::AutoscalingCredentials include Capistrano::DSL def autoscale_groups ::Aws::AutoScaling::Client.new(autoscaling_credentials).describe_auto_scaling_groups({auto_scaling_group_names: [autoscale_group_names].flatten}).auto_scaling_groups end def autoscale_group_names fetch(:aws_autoscale_groups) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems