uc3-sam-sceptre 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/uc3-sam-sceptre/version.rb +1 -1
- data/lib/uc3-sam-sceptre.rb +1 -1
- 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: 4fbf38dc52ab7d2c638ab08c96f6503c916acdc9620dbbad4533f5da32773160
|
4
|
+
data.tar.gz: 716f30ff5f142b307f4f19fb4d0a1f0efe59d8f1a4b46e1a6c61e4fda794d745
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 934f6c8610c3107fed7b3250223cf7f87dbc1721e19f13f07a122903cfe7eca0e3c42f975190f1d1909cb93861c919cf4a5771d3bdf549a22d94771204290ee4
|
7
|
+
data.tar.gz: de7a621b285cddd59d305f8b5682ede28d58a2b6813346865f2f7cd80a2848b8bce413033b27be77f2389edefff067aaa014b9184d4c754655cd6e11914c990f
|
data/README.md
CHANGED
@@ -4,6 +4,8 @@ This gem provides functionality that can be used to help Sceptre trigger a SAM b
|
|
4
4
|
to create an image and push it to an ECR repository or build the ZIP archive and put it into an S3 bucket
|
5
5
|
and then run the CloudFormation create/update/delete.
|
6
6
|
|
7
|
+
You can run the script manually and via a Sceptre hook when you are initialiiy creating your stacks.
|
8
|
+
|
7
9
|
## Prerequisites
|
8
10
|
|
9
11
|
This gem assumes that you have organized your Sceptre config by environment! For example:
|
data/lib/uc3-sam-sceptre.rb
CHANGED
@@ -75,7 +75,7 @@ module Uc3SamSceptre
|
|
75
75
|
"--parameter-overrides #{_build_deploy_overrides}"
|
76
76
|
]
|
77
77
|
# Add the S3 or ECR details depending on what we're working with
|
78
|
-
args << "--s3-bucket #{_locate_value(key: @s3_arn_key)
|
78
|
+
args << "--s3-bucket #{_locate_value(key: @s3_arn_key)&.gsub('arn:aws:s3:::', '')}" unless @s3_arn_key.nil?
|
79
79
|
args << "--s3-prefix #{@stack_name}" unles @s3_arn_key.nil?
|
80
80
|
args << "--image-repository #{_locate_value(key: @ecr_uri_key)}" unless @ecr_uri_key.nil?
|
81
81
|
|