uc3-sam-sceptre 0.0.11 → 0.0.12
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 +6 -0
- 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: b99574c2a37fbef487479e0bac30832f07cd9fea080ff11dd0d714ff2f7cf1fb
|
4
|
+
data.tar.gz: f92a53b7561c9d22d52ad8df15e369a210f89474c8c482b1d54041b0ebbe0875
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f44da01379a4c9262f4cd981bab0e41e7e435e79be28186d149e08d8d84cff1810f5a98fe0cf77faabaf3e4a532b5d5489d68d574fa159a4492f56ad33127bb
|
7
|
+
data.tar.gz: 41d0fbd9b9a26f7f296b3b431f63d2fdee4da02bead5360d94f1d3aca06f925a066657e0447913d25fa2f81a1f56e21c80a73c839897f1547183a651b8bb436b
|
data/lib/uc3-sam-sceptre.rb
CHANGED
@@ -140,7 +140,13 @@ puts args
|
|
140
140
|
# Fetch a CloudFormation stack export
|
141
141
|
def _fetch_stack_export(name:)
|
142
142
|
key = name.to_s.downcase.strip
|
143
|
+
|
144
|
+
puts "Looking for #{name}"
|
145
|
+
|
143
146
|
exports = @stack_exports.select { |exp| exp[:exporting_stack_id].include?(@prefix) && exp[:name].downcase.strip == key }
|
147
|
+
|
148
|
+
puts exports
|
149
|
+
|
144
150
|
exports.first.nil? ? nil : exports.first[:value]
|
145
151
|
end
|
146
152
|
end
|