Sha256: debb66c4afe8062c1141380d9673823d4a281bbb10ce51395050f6cff9536f63

Contents?: true

Size: 314 Bytes

Versions: 4

Compression:

Stored size: 314 Bytes

Contents

# AWS clients utility
module OpsworksRollingDeploy

	module Clients
		def ops_client
			@ops_client ||= Aws::OpsWorks::Client.new(region: 'us-east-1')
		end
		def elb_client(region = 'us-east-1') 
			@elb_client ||={}
			@elb_client[region] ||= Aws::ElasticLoadBalancing::Client.new(region: region)
		end
	end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
opsworks_rolling_deploy-0.2.0 lib/opsworks_rolling_deploy/clients.rb
opsworks_rolling_deploy-0.1.5 lib/opsworks_rolling_deploy/clients.rb
opsworks_rolling_deploy-0.1.4 lib/opsworks_rolling_deploy/clients.rb
opsworks_rolling_deploy-0.1.3 lib/opsworks_rolling_deploy/clients.rb