uc3-sam-sceptre 0.0.19 → 0.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/uc3-sam-sceptre/version.rb +1 -1
- data/lib/uc3-sam-sceptre.rb +1 -12
- 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: 164afb96fcb92226a270004f86f59b0a6277e7f2b66ad9f785e503951f899272
|
4
|
+
data.tar.gz: cd8c3f6d7205b94b081a516b43510a2d5079050ad2e2298828559675e647ce52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 965b36893617f2a2188ef4e817a3902e47a8e4e010ba489dc13421b492b310e443925083abe41bbab79b51bf423cffd60c2827fec4ba010199eed87b8678c28d
|
7
|
+
data.tar.gz: 293aac088242c273ddf5f4ed208d7e09fcd4678bd304d34fe7791288a66d85a2e152cf52439473926694121144095590f29a57ceaf678101b4ba9ee9be29c9ac
|
data/lib/uc3-sam-sceptre.rb
CHANGED
@@ -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
|