cloudformation_wrapper 0.2.17 → 0.2.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 165c39777415f457c6b4a508312a9f4c17356614e48c55a8639c5e33393e4273
4
- data.tar.gz: 84a3cc831532a53bcd05d8a6a5222ccd6c1a3d2e752b22d7547861166b0ed38e
3
+ metadata.gz: 53ce0a0ba25787f588b4680e293e794c58acc23bc6df7544580e14385b44c080
4
+ data.tar.gz: 6fb9dc436fee225335a93b177820851e9095ad4e937c4e2174ae8359e3730851
5
5
  SHA512:
6
- metadata.gz: 2124f0e4789ab92a83610ed298f751cec1bd706fd7fe101a0f3a0ad38f429cb0ba8a8d4fbbc6a818df1a581d46062a7dd78134d3770b263f9ac6187a14fc36af
7
- data.tar.gz: 680d44b0848baae1ed3e28cd019138f02b43ccd2c1af394b1de0b8fddc8d1696427a197651bae2daee08b6ed50293840317382675baef91783980a53f5f4fb5b
6
+ metadata.gz: 8e18fbf34bb7a7b2fd9270371ca8f91170eacd56b110c77facd5a0172fbc72cf60aacc82a49d3790e7d492c0183ecffb16e9d1806dc8b313aa34a893bc0a2639
7
+ data.tar.gz: fdde423531a71873f802e3c3870d7442d23f39f40a96d24eb90981f32c197406e5d5a82a88ac72e74de88794ddd57d46b4e439f6ee17a01b2188571b866b299d
@@ -20,24 +20,19 @@ module CloudFormationWrapper
20
20
  verified_options = verify_options(options)
21
21
 
22
22
  if verified_options.key?('client')
23
- puts 'cf string key'
24
23
  cf_client = verified_options[:client]
25
24
  elsif verified_options.key?(:client)
26
- puts 'cf symbol key'
27
25
  cf_client = verified_options[:client]
28
26
  else
29
27
  cf_client = Aws::CloudFormation::Client.new(credentials: credentials, region: region)
30
28
  end
31
29
 
32
- puts "CF Client #{cf_client.is_a? Aws::CloudFormation::Client}"
33
-
34
30
  ensure_template_file_exists(verified_options[:template_path], cf_client)
35
31
 
36
32
  deploy_stack(
37
33
  verified_options[:parameters],
38
34
  verified_options[:name],
39
35
  verified_options[:template_path],
40
- verified_options[:wait_for_stack],
41
36
  cf_client
42
37
  )
43
38
  end
@@ -67,7 +62,7 @@ module CloudFormationWrapper
67
62
  puts 'Valid Template File.'
68
63
  end
69
64
 
70
- def self.deploy_stack(parameters, stack_name, template_path, cf_client, _wait)
65
+ def self.deploy_stack(parameters, stack_name, template_path, cf_client)
71
66
  template_parameters = construct_template_parameters(parameters)
72
67
  client_token = ENV.fetch('BUILD_NUMBER', SecureRandom.uuid.delete('-'))
73
68
  old_stack = describe_stack(stack_name, cf_client)
@@ -1,4 +1,4 @@
1
1
  module CloudFormationWrapper
2
2
  # @!visibility private
3
- VERSION = '0.2.17'.freeze
3
+ VERSION = '0.2.18'.freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudformation_wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.17
4
+ version: 0.2.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ted Armstrong