uc3-sam-sceptre 0.0.3 → 0.0.5

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: 64fdd8ce5b3381224cc3d9599724258ef949bf00616ba090f759f3024b021563
4
- data.tar.gz: 47cc57eca27a3a792dd370c5d57840ac5356489fa1b1ad7d3d98c9f31143da90
3
+ metadata.gz: 0bcbd555e1d6fb8d83e3e157ca3856f5d4d6bbaa34cee3d6206b5ce772a45c19
4
+ data.tar.gz: 2c88ac3b031e2698a5d262af687e459ff10c7c6af96d3cb3ab73d5bb538ec1d0
5
5
  SHA512:
6
- metadata.gz: ae05c6e2581a4d4b81eaff17108646a5b08873a503507f1f88e0dac850853dd191427150c778e929526419ac189ffd8c52b87c707d87978441639cf1bd941054
7
- data.tar.gz: 489ff775002d7a6efd27fb1940049226858cb61122c87011ee4e7c542ba14a11d3577171ee872604b6ef7569b5c7ac064452aabb48ff5fcbd4856ce0c15f67bd
6
+ metadata.gz: a14779034552e37dcac36636392347b5a3c4279694880e6ab110c6d0eca364f958ba0a9849daa6cb4e399f940d11c0cf0162e62a6b31b73115c1cce638a7088f
7
+ data.tar.gz: 2f07359d9466b57aefb5b6993cf279c5974193f61914f60608ae98edd566d7d590894ed10cc1106e1ec5cebf82462db407325ad9e949e5249a02d28f9de7ff69
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.5'
5
5
  end
@@ -75,8 +75,8 @@ 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?
79
- args << "--s3-prefix #{@stack_name}" unles @s3_arn_key.nil?
78
+ args << "--s3-bucket #{_locate_value(key: @s3_arn_key)&.gsub('arn:aws:s3:::', '')}" unless @s3_arn_key.nil?
79
+ args << "--s3-prefix #{@stack_name}" unless @s3_arn_key.nil?
80
80
  args << "--image-repository #{_locate_value(key: @ecr_uri_key)}" unless @ecr_uri_key.nil?
81
81
 
82
82
  args << "--guided" if guided
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.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley