uc3-sam-sceptre 0.0.6 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uc3-sam-sceptre/version.rb +1 -1
- data/lib/uc3-sam-sceptre.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78d2f80c031e7cb6c2637b8d42edfa38aa27a8b3c1f3ebf6655b3df494450137
|
4
|
+
data.tar.gz: 5a207b2f37e91d4c520ae568875e5e26ee9b39c6637533e2c0f2fd98f7ff98ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d6c3363ba2f991a3b5d773fd8c6a0c8e9d93be717372fda4741dc4ff827a38c42ea49fcaff4a285732ae409572a53f17663cadc7bf1cef9b94d08e3593e7f18
|
7
|
+
data.tar.gz: da5932c46ed7a5f66857a3b3cd0c2e4aaef51bc2f8e7bc2599427c5bcc2eccabea1be3ab2990996e136b641d7d4b02f42dce25538a500349f5315e4f17308a4b
|
data/lib/uc3-sam-sceptre.rb
CHANGED
@@ -103,15 +103,15 @@ module Uc3SamSceptre
|
|
103
103
|
overrides = [_sam_param(key: 'Env', value: @env)]
|
104
104
|
|
105
105
|
@fetchable_cf_params.each do |hash|
|
106
|
-
val = _locate_value(
|
106
|
+
val = _locate_value(key: hash[:stack_name])
|
107
107
|
msg = "Unable to locate value for #{hash[:stack_export_name]}! Make sure you have exported it from the CF Stack."
|
108
108
|
raise ProxyError, msg if val.nil?
|
109
109
|
|
110
110
|
overrides << _sam_param(key: hash.fetch(:template_param_name, hash[:stack_export_name]), value: val)
|
111
111
|
end
|
112
112
|
|
113
|
-
@static_cf_params.each
|
114
|
-
overrides
|
113
|
+
@static_cf_params.each { |hash| overrides << _sam_param(key: hash[:template_param_name], value: hash[:value]) }
|
114
|
+
overrides.flatten.uniq
|
115
115
|
end
|
116
116
|
|
117
117
|
# Convert the Hash key and value into SAM deploy args
|