Skip to content

Commit

Permalink
#1 reference aws-sdk-utils for lambda alias switcher and cfn converge…
Browse files Browse the repository at this point in the history
…nce code
  • Loading branch information
Eric Kascic committed Mar 9, 2016
1 parent de30d7a commit 3c0cc69
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 211 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ source 'https://rubygems.org'
gem 'aws-sdk'
gem 'cfndsl'
gem 'trollop'
gem 'aws-sdk-utils'

group :test do
gem 'awspec'
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ GEM
jmespath (~> 1.0)
aws-sdk-resources (2.2.17)
aws-sdk-core (= 2.2.17)
aws-sdk-utils (0.0.2)
aws-sdk (= 2.2.17)
aws_config (0.0.2)
awsecrets (1.1.0)
aws-sdk (~> 2.1)
Expand Down Expand Up @@ -75,6 +77,7 @@ PLATFORMS
DEPENDENCIES
aws-int-test-rspec-helper
aws-sdk
aws-sdk-utils
awspec
cfndsl
simplecov
Expand Down
2 changes: 1 addition & 1 deletion bin/converge_lambda_stack.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
require 'trollop'
require_relative '../lib/cloudformation_converger'
require_relative 'aws-sdk-utils'

opts = Trollop::options do
opt :stack_name, '', type: :string, required: true
Expand Down
2 changes: 1 addition & 1 deletion bin/switch_lambda_alias.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
require 'trollop'
require_relative '../lib/lambda_alias_switcher'
require 'aws-sdk-utils'

opts = Trollop::options do
opt :function_name, '', type: :string, required: true
Expand Down
41 changes: 0 additions & 41 deletions lib/cloudformation_converger.rb

This file was deleted.

33 changes: 0 additions & 33 deletions lib/lambda_alias_switcher.rb

This file was deleted.

68 changes: 0 additions & 68 deletions spec/cfndsl_test_templates/basic_lambda_cfndsl.rb

This file was deleted.

64 changes: 0 additions & 64 deletions spec/lambda_alias_switcher_spec.rb

This file was deleted.

6 changes: 3 additions & 3 deletions spec_end_to_end/end_to_end_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
expect(security_group(stack_outputs['sgId1'])).to be_inbound_opened(3434)
end

# after(:all) do
# cleanup(@stack_name)
# end
after(:all) do
cleanup(@stack_name)
end
end

0 comments on commit 3c0cc69

Please sign in to comment.