uc3-sam-sceptre 0.0.10 → 0.0.12

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: 53014d8c56bbb9c7376911737ad8569dd07df8efb5ebcbd67e48990c6e0368ba
4
- data.tar.gz: a91cb90f85c02c4c018aef502850e8bfdeddf3ee1034d3869b4ada568bf5e9a3
3
+ metadata.gz: b99574c2a37fbef487479e0bac30832f07cd9fea080ff11dd0d714ff2f7cf1fb
4
+ data.tar.gz: f92a53b7561c9d22d52ad8df15e369a210f89474c8c482b1d54041b0ebbe0875
5
5
  SHA512:
6
- metadata.gz: 7ef76e2f69801e2eac8427eaab7c608e03036ec38ddae31d889777b06d920fb5941421d6e187fb8b03b230ec2739f1eff7d3951a2fc1e3b303e2d37cc3068ebc
7
- data.tar.gz: 0fb4d71892b2b80924ab3ea4960c32c29f138877f295ecac1ddd8343c56172b668ed06dbb900b8d8011cb99bde3f3bd4cd7f3709b068c9748663f0a61c48e359
6
+ metadata.gz: 5f44da01379a4c9262f4cd981bab0e41e7e435e79be28186d149e08d8d84cff1810f5a98fe0cf77faabaf3e4a532b5d5489d68d574fa159a4492f56ad33127bb
7
+ data.tar.gz: 41d0fbd9b9a26f7f296b3b431f63d2fdee4da02bead5360d94f1d3aca06f925a066657e0447913d25fa2f81a1f56e21c80a73c839897f1547183a651b8bb436b
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3SamSceptre
4
- VERSION = '0.0.10'
4
+ VERSION = '0.0.12'
5
5
  end
@@ -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,14 @@ 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 }.first
143
+
144
+ puts "Looking for #{name}"
145
+
146
+ exports = @stack_exports.select { |exp| exp[:exporting_stack_id].include?(@prefix) && exp[:name].downcase.strip == key }
147
+
148
+ puts exports
149
+
150
+ exports.first.nil? ? nil : exports.first[:value]
145
151
  end
146
152
  end
147
153
  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.10
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley