File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 16
16
options :
17
17
- beta
18
18
- prod
19
- default : Gamma
19
+ default : beta
20
20
required : true
21
21
version :
22
22
description : Layer version to duplicate
23
- type : number
23
+ type : string
24
24
required : true
25
25
workflow_call :
26
26
inputs :
27
27
environment :
28
28
description : Deployment environment
29
29
type : string
30
- default : Gamma
31
30
required : true
32
31
version :
33
32
description : Layer version to duplicate
34
- type : number
33
+ type : string
35
34
required : true
36
35
37
36
name : Layer Rename
38
37
run-name : Layer Rename - ${{ inputs.environment }}
39
38
39
+ permissions :
40
+ contents : read
41
+
40
42
jobs :
41
43
download :
42
44
runs-on : ubuntu-latest
@@ -136,7 +138,7 @@ jobs:
136
138
- name : Verify Layer Signature
137
139
run : |
138
140
SHA=$(jq -r '.Content.CodeSha256' ${{ matrix.layer }}_x86_64.json)
139
- test $(openssl dgst -sha256 -binary ${{ matrix.layer }}_x86_64.zip | openssl enc -base64) == $SHA && echo "SHA OK: ${SHA}" || exit 1
141
+ test $(openssl dgst -sha256 -binary ${{ matrix.layer }}_x86_64.zip | openssl enc -base64) == $SHA && echo "SHA OK: ${SHA}" || exit 1
140
142
- name : Configure AWS Credentials
141
143
uses : aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
142
144
with :
@@ -158,4 +160,4 @@ jobs:
158
160
--statement-id 'PublicLayer' \
159
161
--action lambda:GetLayerVersion \
160
162
--principal '*' \
161
- --version-number
163
+ --version-number
You can’t perform that action at this time.
0 commit comments