lib/feefi/aws/beanstalk.rb
# Uses EC2 and the tags to get a list of EC2 instances associated with this app and Beanstalk environment
# Technically the eb_env is merely a filter and will match using Array#include? in the env_env varianble.
Uses EC2 and the tags to get a list of EC2 instances associated with this app and Beanstalk environment
Technically the eb_env is merely a filter and will match using Array#include. in the env_env varianble.
Uses EC2 and the tags to get a list of EC2 instances associated with this app and Beanstalk environment Technically the eb_env is merely a filter and will match using Array#include . in the env_env varianble .
def servers(eb_env)
      @aws.ec2_connection.servers.select do |server|
        if server.tags && server.tags["elasticbeanstalk:environment-name"]
          server.tags["elasticbeanstalk:environment-name"].include? eb_env
        else
          nil
        end
      end
    end
def servers ( eb_env ) @aws . ec2_connection . servers . select do | server | if server . tags && server . tags [ "elasticbeanstalk:environment-name" ] server . tags [ "elasticbeanstalk:environment-name" ] . include? eb_env else nil end end end
Uses EC2 and the tags to get a list of EC2 instances associated with this app and Beanstalk environment
Technically the eb_env is merely a filter and will match using Array#include?
Uses EC2 and the tags to get a list of EC2 instances associated with this app and Beanstalk environment Technically the eb_env is merely a filter and will match using Array#include?
eb_env
<not_specific>