Skip to content

Commit

Permalink
Merge pull request #16 from toshke/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
toshke authored Nov 23, 2017
2 parents 0caebc1 + 7f0cccb commit cc8443b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cfn_manage.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ require 'rake'

Gem::Specification.new do |s|
s.name = 'cfn_manage'
s.version = '0.2.0'
s.date = '2017-10-30'
s.version = '0.2.1'
s.date = '2017-11-23'
s.summary = 'Manage AWS Cloud Formation stacks'
s.description = ''
s.authors = ['Base2Services', 'Nikola Tosic']
Expand Down
6 changes: 3 additions & 3 deletions lib/cf_start_stop_environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ class EnvironmentRunStop

def initialize()
@environment_resources = []
@s3_client = Aws::S3::Client.new()
@s3_client = Aws::S3::Client.new(retry_limit: 20)
@s3_bucket = ENV['SOURCE_BUCKET']
@cf_client = Aws::CloudFormation::Client.new()
@cf_client = Aws::CloudFormation::Client.new(retry_limit: 20)
@credentials = Base2::AWSCredentials.get_session_credentials('start_stop_environment')
if not @credentials.nil?
@cf_client = Aws::CloudFormation::Client.new(credentials: @credentials)
@cf_client = Aws::CloudFormation::Client.new(credentials: @credentials, retry_limit: 20)
end
@dry_run = (ENV.key?('DRY_RUN') and ENV['DRY_RUN'] == '1')
end
Expand Down

0 comments on commit cc8443b

Please sign in to comment.