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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 414234092fff547a2d47846b0e1ee654207d90880b9a7d1e75b22941f5d80c4b
|
4
|
+
data.tar.gz: ac59dca4befc152fb4d02a5b2cbe96b10605fff11426ec7fc620c747c6c0c4b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
|