uc3-sam-sceptre 0.0.11 → 0.0.13

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: e18dd105fc9435f07a6a27fafe48cf032b58f725bdf4d984e301e4e558e76441
4
- data.tar.gz: 1c8c3940e170d6840397c9ee1683661ed678ebb6aa9d18152203ece1d48bdf03
3
+ metadata.gz: 1765a01a7c85de28fb14835de1da594167d54a746e45c50847cec71d317d92e0
4
+ data.tar.gz: a50cd3fe52e737cb2d1d9ba07cbced3f55fe7915bd8cebfda2448c74a1004485
5
5
  SHA512:
6
- metadata.gz: d1314eb2804a4bf45442aff96127b5e11a01eda1f8a11860eda5ca34bb1867fc0e0eef9bdc0c77c4af00684cdc684ff5df7854ba84813efdd4cc93987722e758
7
- data.tar.gz: 36743877ce693d482192132e0abb423c9bb3c4db779c55b16e54963ec27091f285136330b36902903ee42502d3a44b5c98c598859ab05233f8d5212cc6dd5bfa
6
+ metadata.gz: e974e4e01cd05b1da2b8ca4e0d6c6975d964bf938c117c2ea3053d36a7c0e298b6664315afa546b70eeb1d7d00069951969a01cc3aa4d691ff5a2b2fe2ae1e7b
7
+ data.tar.gz: 22024e193ba2bb80a266f5de917fc410c325f15b80c6a93305bc2132ba6a99a27c5fa2a7eecfa2f0de80eabc64bf3eb84bd91b4ccee190048a7977212a40f22d
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3SamSceptre
4
- VERSION = '0.0.11'
4
+ VERSION = '0.0.13'
5
5
  end
@@ -140,8 +140,15 @@ 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 }
144
- exports.first.nil? ? nil : exports.first[:value]
147
+
148
+
149
+ puts exports
150
+
151
+ exports.map(&:value).first
145
152
  end
146
153
  end
147
154
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uc3-sam-sceptre
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley