uc3-sam-sceptre 0.0.22 → 0.0.24
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 +3 -5
- 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: 79c445dff47e74542ae4dc9ce5b6692e9b9e00550fb74f23f300d2e4821b6cfa
|
4
|
+
data.tar.gz: 75d94ff35c495d16cd9f02fc654817713e190396d168ad77a39fc2c8f6c2ca73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5a7140eafb7dac6b8c651f0a45ba58d9181c2a07d78e5605313d87e94551de5b97d8a6d2bfe102574543f4a047ea6045763b888e7cf28fe50e4c6763a3d6de6
|
7
|
+
data.tar.gz: 250f7295003a3dd91f8a97ff74f2981832295f6ae28a0e775cb85c95ddc724a6039a199b60bd8482a1402cb8a08cee8f78439d1c338b23c95ea1470b573174de
|
data/lib/uc3-sam-sceptre.rb
CHANGED
@@ -70,18 +70,16 @@ module Uc3SamSceptre
|
|
70
70
|
"--stack-name #{@stack_name}",
|
71
71
|
"--confirm-changeset #{!@auto}",
|
72
72
|
'--capabilities CAPABILITY_NAMED_IAM',
|
73
|
-
'--disable-rollback false'
|
74
|
-
"--tags #{_sam_tags(admin_email: _locate_value(key: @admin_email_key))}",
|
75
|
-
"--parameter-overrides #{_build_deploy_overrides}"
|
73
|
+
'--disable-rollback false'
|
76
74
|
]
|
77
75
|
# Add the S3 or ECR details depending on what we're working with
|
78
76
|
args << "--s3-bucket #{_locate_value(key: @s3_arn_key)&.gsub('arn:aws:s3:::', '')}" unless @s3_arn_key.nil?
|
79
77
|
args << "--s3-prefix #{@stack_name}" unless @s3_arn_key.nil?
|
80
78
|
args << "--image-repository #{_locate_value(key: @ecr_uri_key)}" unless @ecr_uri_key.nil?
|
81
79
|
|
82
|
-
pp args
|
83
|
-
|
84
80
|
args << "--guided" if guided
|
81
|
+
args << "--tags #{_sam_tags(admin_email: _locate_value(key: @admin_email_key)).join(' ')}"
|
82
|
+
args << "--parameter-overrides #{_build_deploy_overrides.join(' ')}"
|
85
83
|
system "sam deploy #{args.join(' ')}"
|
86
84
|
end
|
87
85
|
|