uc3-sam-sceptre 0.0.4 → 0.0.6
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 +2 -2
- 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: 7e03b622a3e43e876825d8d6f6aa6f3ad596bcaaceab514404285c409630d4ac
|
4
|
+
data.tar.gz: 906a724eb85a5856802a62552824ace1cf2c242f445cb1680167cffd06d12036
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5db8398b1fbae1c78e8ecfc554e6de8cbb19c8a02c6659afc8df1d4ffb8410ac8bb85a525747f09a1413742479cd742521439d754f7eff609a90c855d68e64c7
|
7
|
+
data.tar.gz: df58714eef33bc4c1e1202b437bd961a18ba760b4a77cdfd3da968e250fe58d7af329d908dc8e8edc429da407a2c6f1253b93a48e14d86a75aa101049f7572ae
|
data/lib/uc3-sam-sceptre.rb
CHANGED
@@ -76,7 +76,7 @@ module Uc3SamSceptre
|
|
76
76
|
]
|
77
77
|
# Add the S3 or ECR details depending on what we're working with
|
78
78
|
args << "--s3-bucket #{_locate_value(key: @s3_arn_key)&.gsub('arn:aws:s3:::', '')}" unless @s3_arn_key.nil?
|
79
|
-
args << "--s3-prefix #{@stack_name}"
|
79
|
+
args << "--s3-prefix #{@stack_name}" unless @s3_arn_key.nil?
|
80
80
|
args << "--image-repository #{_locate_value(key: @ecr_uri_key)}" unless @ecr_uri_key.nil?
|
81
81
|
|
82
82
|
args << "--guided" if guided
|
@@ -107,7 +107,7 @@ module Uc3SamSceptre
|
|
107
107
|
msg = "Unable to locate value for #{hash[:stack_export_name]}! Make sure you have exported it from the CF Stack."
|
108
108
|
raise ProxyError, msg if val.nil?
|
109
109
|
|
110
|
-
overrides <<
|
110
|
+
overrides << _sam_param(key: hash.fetch(:template_param_name, hash[:stack_export_name]), value: val)
|
111
111
|
end
|
112
112
|
|
113
113
|
@static_cf_params.each do { |hash| overrides << _sam_param(key: hash[:template_param_name], value: hash[:value]) }
|