lib/cloud_providers/ec2/ec2.rb
def create!
      [:security_groups, :load_balancers, :rds_instances].each do |type|
        self.send(type).each {|ele| ele.create! }
      end
    end
# Called when the create command is called on the cloud
Called when the create command is called on the cloud
Called when the create command is called on the cloud
def create!
      [:security_groups, :load_balancers, :rds_instances].each do |type|
        self.send(type).each {|ele| ele.create! }
      end
    end
def create! [ :security_groups , :load_balancers , :rds_instances ] . each do | type | self . send ( type ) . each { | ele | ele . create! } end end
Called when the create command is called on the cloud
Called when the create command is called on the cloud