uc3-sam-sceptre 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64fdd8ce5b3381224cc3d9599724258ef949bf00616ba090f759f3024b021563
4
- data.tar.gz: 47cc57eca27a3a792dd370c5d57840ac5356489fa1b1ad7d3d98c9f31143da90
3
+ metadata.gz: 4fbf38dc52ab7d2c638ab08c96f6503c916acdc9620dbbad4533f5da32773160
4
+ data.tar.gz: 716f30ff5f142b307f4f19fb4d0a1f0efe59d8f1a4b46e1a6c61e4fda794d745
5
5
  SHA512:
6
- metadata.gz: ae05c6e2581a4d4b81eaff17108646a5b08873a503507f1f88e0dac850853dd191427150c778e929526419ac189ffd8c52b87c707d87978441639cf1bd941054
7
- data.tar.gz: 489ff775002d7a6efd27fb1940049226858cb61122c87011ee4e7c542ba14a11d3577171ee872604b6ef7569b5c7ac064452aabb48ff5fcbd4856ce0c15f67bd
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:
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3SamSceptre
4
- VERSION = '0.0.3'
4
+ VERSION = '0.0.4'
5
5
  end
@@ -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)&..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.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley