uc3-sam-sceptre 0.0.10 → 0.0.11
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 +2 -2
- 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: e18dd105fc9435f07a6a27fafe48cf032b58f725bdf4d984e301e4e558e76441
|
4
|
+
data.tar.gz: 1c8c3940e170d6840397c9ee1683661ed678ebb6aa9d18152203ece1d48bdf03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1314eb2804a4bf45442aff96127b5e11a01eda1f8a11860eda5ca34bb1867fc0e0eef9bdc0c77c4af00684cdc684ff5df7854ba84813efdd4cc93987722e758
|
7
|
+
data.tar.gz: 36743877ce693d482192132e0abb423c9bb3c4db779c55b16e54963ec27091f285136330b36902903ee42502d3a44b5c98c598859ab05233f8d5212cc6dd5bfa
|
data/lib/uc3-sam-sceptre.rb
CHANGED
@@ -114,7 +114,6 @@ puts args
|
|
114
114
|
end
|
115
115
|
|
116
116
|
@static_cf_params.each { |hash| overrides << _sam_param(key: hash[:template_param_name], value: hash[:value]) }
|
117
|
-
overrides.flatten.uniq
|
118
117
|
end
|
119
118
|
|
120
119
|
# Convert the Hash key and value into SAM deploy args
|
@@ -141,7 +140,8 @@ puts args
|
|
141
140
|
# Fetch a CloudFormation stack export
|
142
141
|
def _fetch_stack_export(name:)
|
143
142
|
key = name.to_s.downcase.strip
|
144
|
-
@stack_exports.select { |exp| exp[:exporting_stack_id].include?(@prefix) && exp[:name].downcase.strip == key }
|
143
|
+
exports = @stack_exports.select { |exp| exp[:exporting_stack_id].include?(@prefix) && exp[:name].downcase.strip == key }
|
144
|
+
exports.first.nil? ? nil : exports.first[:value]
|
145
145
|
end
|
146
146
|
end
|
147
147
|
end
|