uc3-sam-sceptre 0.0.22 → 0.0.23
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 +5 -4
- 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: 9230e8af4509b1ecedfd90149e37a64281e9a4d3370ce70eb4ed44844564c171
|
4
|
+
data.tar.gz: 253a029c8c74bec21ad2e887425385239c4e75f71f0224c769c7feec6e885328
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa08208deea06584fbaee4a9f82b3fe610614a9be92ff906d47066bf1c269f498a65d8f1ca66c854cd6b85363395ccb43482fd8603db217de508f4872f3839b0
|
7
|
+
data.tar.gz: d9e10dfc54da69755417e67bd266caa03661e77cd6d96c34d54a7ec5a7c9d5019b50e08880617a63d4fe610a5d743bcef9551d8d857628cb2629dc737dbe2a1c
|
data/lib/uc3-sam-sceptre.rb
CHANGED
@@ -70,18 +70,19 @@ 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
|
|
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(' ')}"
|
83
|
+
|
82
84
|
pp args
|
83
85
|
|
84
|
-
args << "--guided" if guided
|
85
86
|
system "sam deploy #{args.join(' ')}"
|
86
87
|
end
|
87
88
|
|