uc3-sam-sceptre 0.0.15 → 0.0.16
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 +4 -1
- 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: e34abfdedcb68558d3f3a0ad093f32cd0408f6eb3c154f68afc18f9d885732ee
|
4
|
+
data.tar.gz: 5b5f54954042cfe3885a74086a69300551393a88a8a450135cd722ad2181707b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb63600d6953502c9c65065dd3d4263c3c2a6cfd9bc62d27593b720d96205f14bc0db246e0b43ab793f6f271a45457ac7b26f4320cf8408264cee26a9afaff7d
|
7
|
+
data.tar.gz: 9212170205983875dcf52db9175e03ce27d75b40f75e4df74d054a610a54683b390df097ca1061b20a785ab866eef5276b6996a5df1aeaf27378c43d8c3739a8
|
data/lib/uc3-sam-sceptre.rb
CHANGED
@@ -140,13 +140,16 @@ 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}, stack prefix: #{@prefix}"
|
145
|
+
|
143
146
|
exp = @stack_exports.select { |exp| exp[:exporting_stack_id].include?(@prefix) && exp[:name].downcase.strip == key }.first
|
144
147
|
|
145
148
|
puts exp
|
146
149
|
puts exp.class.name
|
147
150
|
puts exp.first
|
148
151
|
|
149
|
-
exp.first[:value]
|
152
|
+
exp.nil? ? nil : exp.first[:value]
|
150
153
|
end
|
151
154
|
end
|
152
155
|
end
|