lib/dpl/provider/code_deploy.rb in dpl-1.7.8.travis.646.1 vs lib/dpl/provider/code_deploy.rb in dpl-1.7.8.travis.647.1
- old
+ new
@@ -1,10 +1,10 @@
require 'json'
module DPL
class Provider
class CodeDeploy < Provider
- requires 'aws-sdk'
+ requires 'aws-sdk-v1'
def code_deploy
@code_deploy ||= begin
Aws.add_service('CodeDeploy', api: File.expand_path("../CodeDeploy.api.json", __FILE__)) unless defined? Aws::CodeDeploy
Aws::CodeDeploy::Client.new(code_deploy_options)