cloudformation_wrapper 0.2.15 → 0.2.16

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: aeabcbf03c9dc18836552ba349bd18be96cbd7993ef02ed74ae51ca6c8859466
4
- data.tar.gz: f4c0ce7baedd75fbd911465a6f1b40dd2d33ec555bb1930e7177c51611473e0e
3
+ metadata.gz: 414234092fff547a2d47846b0e1ee654207d90880b9a7d1e75b22941f5d80c4b
4
+ data.tar.gz: ac59dca4befc152fb4d02a5b2cbe96b10605fff11426ec7fc620c747c6c0c4b1
5
5
  SHA512:
6
- metadata.gz: 2a4e652f65cd31f3bf0bd61e0dc9490d06183ac33a003de6cedd28dcb8052a81c7e8c6dd42f6603a231c6d52ee2713c919f3ca9722614167764cfd903698eca2
7
- data.tar.gz: 7e23b4a1a1b99c63bf598684926208114e7639771d47f7f9fb9de79b3e6fa0d86e3c350100845f47d8ce891213914f0cf5cc5c77ed924dce500f5abdcc2269db
6
+ metadata.gz: 5aceaffb2ecdcba181ffdc1dd8bcbf167e1d46b776ec9ecb3e968c0ae1096de7433b31903ca57359bfb921a15a40342ec408229292495fa739bdcc7d1efb432c
7
+ data.tar.gz: 6aad2ffb69b6cc316cc089a0a016e143af82425f118308c4b9ac358b2feedd42dea42cd95c022c0ddd651126054d6e6a955c197a1eee4f9eba25000f34804099
@@ -19,7 +19,13 @@ module CloudFormationWrapper
19
19
 
20
20
  verified_options = verify_options(options)
21
21
 
22
- cf_client = verified_options[:client] || Aws::CloudFormation::Client.new(credentials: credentials, region: region)
22
+ cf_client = if verified_options.key?(:client)
23
+ Aws::CloudFormation::Client.new(credentials: credentials, region: region)
24
+ else
25
+ verified_options[:client]
26
+ end
27
+
28
+ puts "CF Client #{cf_client.is_a? Aws::CloudFormation::Client}"
23
29
 
24
30
  ensure_template_file_exists(verified_options[:template_path], cf_client)
25
31
 
@@ -1,4 +1,4 @@
1
1
  module CloudFormationWrapper
2
2
  # @!visibility private
3
- VERSION = '0.2.15'.freeze
3
+ VERSION = '0.2.16'.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.15
4
+ version: 0.2.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ted Armstrong