uc3-sam-sceptre 0.0.2 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8daa12905f3990e4c33824a11edc030f69b7166baf06b87f69bd6d79e61ccf14
4
- data.tar.gz: 1e3e7c42fdcf229e00e7dff93e30fd1ae84ee5fa807169fa3430a6031967b38b
3
+ metadata.gz: 4fbf38dc52ab7d2c638ab08c96f6503c916acdc9620dbbad4533f5da32773160
4
+ data.tar.gz: 716f30ff5f142b307f4f19fb4d0a1f0efe59d8f1a4b46e1a6c61e4fda794d745
5
5
  SHA512:
6
- metadata.gz: 738b38c44834d8fcf7a72646c45c8c8d6681533fa1b50ae4481089767f4a5024308b22dfc0d8f91466dcd67309a0c797220740021cb35a145fbfb930e71f8e8d
7
- data.tar.gz: d04e2615d5e6201bce35f3dacd6fb650ba5548e342e895af29bf0e83a5cbdab86f794fc294c1c0cdcca5e95dd4be75a7e09d8244a785f233b39b71b08dda7366
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:
@@ -151,7 +153,7 @@ This gem will automatically append the `:program + :service + :subservice + :env
151
153
 
152
154
  #### Build the bundle
153
155
 
154
- You will need to run `bundle config path ./ && bundle install` so that this gem is installed and ready
156
+ You will need to run `bundle install` so that this gem is installed and ready
155
157
 
156
158
  #### Add the Sceptre hook
157
159
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3SamSceptre
4
- VERSION = '0.0.2'
4
+ VERSION = '0.0.4'
5
5
  end
@@ -71,11 +71,11 @@ module Uc3SamSceptre
71
71
  "--confirm-changeset #{!@auto}",
72
72
  '--capabilities CAPABILITY_NAMED_IAM',
73
73
  '--disable-rollback false',
74
- "--tags #{_sam_tags(admin_email: _locate_value(key: @admin_email_key)}",
74
+ "--tags #{_sam_tags(admin_email: _locate_value(key: @admin_email_key))}",
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)&..gsub('arn:aws:s3:::', '')}" unless @s3_arn_key.nil?
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uc3-sam-sceptre
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley