uc3-sam-sceptre 0.0.19 → 0.0.21

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: 3721db43aa3f9a5fb084481ca472b236e9fe3f0ac6d824a3c0075561ad932cda
4
- data.tar.gz: 9d784c9d86c817e37a3c1160916a6526f491e75a39917e65302a7718b55f27b4
3
+ metadata.gz: 33a80ad0974da62478f0699772d6ab24792f874a32c78be3b541c1bf23ec321a
4
+ data.tar.gz: 198f3bda7370ea1c5bd3e6751278569fbf97df4ae140977dabc7e913820fe191
5
5
  SHA512:
6
- metadata.gz: 896346d454268dce1b8c601c94db8f8015188249202eae131596dde616c5fc22f861f6fded8659ab26921496776d01cc4a1aa0d299f2a1d824e180e60a6063cf
7
- data.tar.gz: 04231db00bea96db9842152d5cff13b90e8fc8f883c058fe581f135f29dfa98241dda98f6644064db6cc75c86a295d9ef6fdd5d1c44ab92f15c875a74b0a59c2
6
+ metadata.gz: 40a6daf80e3967c0375abacd402a3f571775140d0ae6643b3231ba8bae8f41bc1a042245fca73d18db46e0ac1cf67c727131e027e29213f72b22ddf48da64ae8
7
+ data.tar.gz: 96fdcbf9934f21ea931c6b80ec470bbe625bf6f9a0957b9d7666097f53c5d53bb4c677a977343ee450b3f4cb715789092394bce8a6066f4282bb2ca06c0786e1
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3SamSceptre
4
- VERSION = '0.0.19'
4
+ VERSION = '0.0.21'
5
5
  end
@@ -67,7 +67,7 @@ module Uc3SamSceptre
67
67
  # Run a SAM deploy
68
68
  def deploy(guided: false)
69
69
  args = [
70
- "--stack name #{@stack_name}",
70
+ "--stack-name #{@stack_name}",
71
71
  "--confirm-changeset #{!@auto}",
72
72
  '--capabilities CAPABILITY_NAMED_IAM',
73
73
  '--disable-rollback false',
@@ -80,9 +80,6 @@ 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
-
86
83
  system "sam deploy #{args.join(' ')}"
87
84
  end
88
85
 
@@ -114,13 +111,11 @@ puts args
114
111
  end
115
112
 
116
113
  @static_cf_params.each { |hash| overrides << _sam_param(key: hash[:template_param_name], value: hash[:value]) }
114
+ overrides
117
115
  end
118
116
 
119
117
  # Convert the Hash key and value into SAM deploy args
120
118
  def _sam_param(key:, value:)
121
-
122
- puts "Makin SAM Key: #{key} => #{value}"
123
-
124
119
  return '' if key.nil? || value.nil?
125
120
 
126
121
  "ParameterKey=#{key},ParameterValue=#{value}"
@@ -147,12 +142,6 @@ puts "Makin SAM Key: #{key} => #{value}"
147
142
  param = @stack_exports.select do |export|
148
143
  export.exporting_stack_id.include?(@prefix) && export.name.downcase.strip == key
149
144
  end
150
-
151
- puts @stack_exports.first
152
- puts "Lookin for stack #{@prefix} with #{key}"
153
- puts param.class.name
154
- puts param.first&.value
155
-
156
145
  param.first&.value
157
146
  end
158
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.19
4
+ version: 0.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley