uc3-sam-sceptre 0.0.17 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uc3-sam-sceptre/version.rb +1 -1
- data/lib/uc3-sam-sceptre.rb +10 -11
- 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: 3721db43aa3f9a5fb084481ca472b236e9fe3f0ac6d824a3c0075561ad932cda
|
4
|
+
data.tar.gz: 9d784c9d86c817e37a3c1160916a6526f491e75a39917e65302a7718b55f27b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 896346d454268dce1b8c601c94db8f8015188249202eae131596dde616c5fc22f861f6fded8659ab26921496776d01cc4a1aa0d299f2a1d824e180e60a6063cf
|
7
|
+
data.tar.gz: 04231db00bea96db9842152d5cff13b90e8fc8f883c058fe581f135f29dfa98241dda98f6644064db6cc75c86a295d9ef6fdd5d1c44ab92f15c875a74b0a59c2
|
data/lib/uc3-sam-sceptre.rb
CHANGED
@@ -118,6 +118,9 @@ puts args
|
|
118
118
|
|
119
119
|
# Convert the Hash key and value into SAM deploy args
|
120
120
|
def _sam_param(key:, value:)
|
121
|
+
|
122
|
+
puts "Makin SAM Key: #{key} => #{value}"
|
123
|
+
|
121
124
|
return '' if key.nil? || value.nil?
|
122
125
|
|
123
126
|
"ParameterKey=#{key},ParameterValue=#{value}"
|
@@ -141,20 +144,16 @@ puts args
|
|
141
144
|
def _fetch_stack_export(name:)
|
142
145
|
key = name.to_s.downcase.strip
|
143
146
|
|
144
|
-
|
145
|
-
|
146
|
-
puts "Looking for: #{name}, stack prefix: #{@prefix}"
|
147
|
-
|
148
|
-
exp = @stack_exports.select do |hash|
|
149
|
-
hash[:exporting_stack_id].include?(@prefix) && hash[:name].downcase.strip == key
|
147
|
+
param = @stack_exports.select do |export|
|
148
|
+
export.exporting_stack_id.include?(@prefix) && export.name.downcase.strip == key
|
150
149
|
end
|
151
150
|
|
152
|
-
puts
|
153
|
-
puts
|
154
|
-
puts
|
155
|
-
puts
|
151
|
+
puts @stack_exports.first
|
152
|
+
puts "Lookin for stack #{@prefix} with #{key}"
|
153
|
+
puts param.class.name
|
154
|
+
puts param.first&.value
|
156
155
|
|
157
|
-
|
156
|
+
param.first&.value
|
158
157
|
end
|
159
158
|
end
|
160
159
|
end
|