uc3-sam-sceptre 0.0.9 → 0.0.11

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: d8d2aaf8f13db34a1bda1893dd0b24ae8c23aa14aef8b052f4d240bfd2479937
4
- data.tar.gz: 68734f580866594690d8dbba82fe57c536f368c6ed8fc54b378c3b18e819925a
3
+ metadata.gz: e18dd105fc9435f07a6a27fafe48cf032b58f725bdf4d984e301e4e558e76441
4
+ data.tar.gz: 1c8c3940e170d6840397c9ee1683661ed678ebb6aa9d18152203ece1d48bdf03
5
5
  SHA512:
6
- metadata.gz: e86129098671cca2f666b567c6b85828cf2aac0fa340f4a1eb93b1f961ff5516ed7047bf39dab0103612505ba6bf63153ade367c2c1258e8412ff051343f9913
7
- data.tar.gz: 5fc94b010cc8f6f9f4621d869a8ab3417be1e677416e436e72c99ffca386bdd3bfc0c35dcc3d38168c43d0914cd060446a08fb9040f70749e24e766bce5c75a7
6
+ metadata.gz: d1314eb2804a4bf45442aff96127b5e11a01eda1f8a11860eda5ca34bb1867fc0e0eef9bdc0c77c4af00684cdc684ff5df7854ba84813efdd4cc93987722e758
7
+ data.tar.gz: 36743877ce693d482192132e0abb423c9bb3c4db779c55b16e54963ec27091f285136330b36902903ee42502d3a44b5c98c598859ab05233f8d5212cc6dd5bfa
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3SamSceptre
4
- VERSION = '0.0.9'
4
+ VERSION = '0.0.11'
5
5
  end
@@ -80,6 +80,9 @@ module Uc3SamSceptre
80
80
  args << "--image-repository #{_locate_value(key: @ecr_uri_key)}" unless @ecr_uri_key.nil?
81
81
 
82
82
  args << "--guided" if guided
83
+
84
+ puts args
85
+
83
86
  system "sam deploy #{args.join(' ')}"
84
87
  end
85
88
 
@@ -111,7 +114,6 @@ module Uc3SamSceptre
111
114
  end
112
115
 
113
116
  @static_cf_params.each { |hash| overrides << _sam_param(key: hash[:template_param_name], value: hash[:value]) }
114
- overrides.flatten.uniq
115
117
  end
116
118
 
117
119
  # Convert the Hash key and value into SAM deploy args
@@ -138,7 +140,8 @@ module Uc3SamSceptre
138
140
  # Fetch a CloudFormation stack export
139
141
  def _fetch_stack_export(name:)
140
142
  key = name.to_s.downcase.strip
141
- @stack_exports.select { |exp| exp[:exporting_stack_id].include?(@prefix) && exp[:name].downcase.strip == key }.first
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]
142
145
  end
143
146
  end
144
147
  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.9
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley