File tree 3 files changed +20
-2
lines changed
3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 49
49
default : false
50
50
type : boolean
51
51
required : false
52
+ skip_lambda_layer :
53
+ description : " Skip publishing Lambda Layers as it can't publish more than once. Useful for semi-failed releases"
54
+ type : boolean
55
+ required : false
56
+
52
57
workflow_call :
53
58
inputs :
54
59
latest_published_version :
72
77
description : " Sealed source code integrity hash"
73
78
type : string
74
79
required : true
80
+ skip_lambda_layer :
81
+ description : " Skip publishing Lambda Layers as it can't publish more than once. Useful for semi-failed releases"
82
+ default : false
83
+ type : boolean
84
+ required : false
75
85
76
86
permissions :
77
87
contents : read
@@ -164,6 +174,7 @@ jobs:
164
174
path : layer_v3/cdk.py${{ matrix.python-version }}.out.zip
165
175
166
176
beta :
177
+ if : ${{ !inputs.skip_lambda_layer }}
167
178
needs : build-layer
168
179
# lower privilege propagated from parent workflow (release-v3.yml)
169
180
permissions :
@@ -180,6 +191,7 @@ jobs:
180
191
source_code_integrity_hash : ${{ inputs.source_code_integrity_hash }}
181
192
182
193
prod :
194
+ if : ${{ !inputs.skip_lambda_layer }}
183
195
needs : beta
184
196
# lower privilege propagated from parent workflow (release-v3.yml)
185
197
permissions :
Original file line number Diff line number Diff line change 48
48
default : false
49
49
type : boolean
50
50
required : false
51
+ skip_lambda_layer :
52
+ description : " Skip publishing Lambda Layers as it can't publish more than once. Useful for semi-failed releases"
53
+ default : false
54
+ type : boolean
55
+ required : false
51
56
skip_code_quality :
52
57
description : " Skip tests, linting, and baseline. Only use if release fail for reasons beyond our control and you need a quick release."
53
58
default : false
@@ -350,6 +355,7 @@ jobs:
350
355
pre_release : ${{ inputs.pre_release }}
351
356
source_code_artifact_name : ${{ needs.seal.outputs.artifact_name }}
352
357
source_code_integrity_hash : ${{ needs.seal.outputs.integrity_hash }}
358
+ skip_lambda_layer : ${{ inputs.skip_lambda_layer }}
353
359
354
360
post_release :
355
361
needs : [seal, release, publish_layer]
Original file line number Diff line number Diff line change @@ -238,8 +238,8 @@ You can install Powertools for AWS Lambda (Python) using your favorite dependenc
238
238
239
239
| App | | | ARN |
240
240
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | --- | ----------------------------------------------------------------------------------------------------------------------------- |
241
- | [**aws-lambda-powertools-python-layer-v3 **](https://serverlessrepo.aws.amazon.com/applications/eu-west-1/057560766410/aws-lambda-powertools-python-layer){target="_blank"} | | | __arn:aws:serverlessrepo:eu-west-1:057560766410:applications/aws-lambda-powertools-python-layer__{: .copyMe}:clipboard: |
242
- | [**aws-lambda-powertools-python-layer-arm64-v3 **](https://serverlessrepo.aws.amazon.com/applications/eu-west-1/057560766410/aws-lambda-powertools-python-layer-arm64){target="_blank"} | | | __arn:aws:serverlessrepo:eu-west-1:057560766410:applications/aws-lambda-powertools-python-layer-arm64__{: .copyMe}:clipboard: |
241
+ | [**aws-lambda-powertools-python-layer**](https://serverlessrepo.aws.amazon.com/applications/eu-west-1/057560766410/aws-lambda-powertools-python-layer){target="_blank"} | | | __arn:aws:serverlessrepo:eu-west-1:057560766410:applications/aws-lambda-powertools-python-layer__{: .copyMe}:clipboard: |
242
+ | [**aws-lambda-powertools-python-layer-arm64**](https://serverlessrepo.aws.amazon.com/applications/eu-west-1/057560766410/aws-lambda-powertools-python-layer-arm64){target="_blank"} | | | __arn:aws:serverlessrepo:eu-west-1:057560766410:applications/aws-lambda-powertools-python-layer-arm64__{: .copyMe}:clipboard: |
243
243
244
244
??? question "Don't have enough permissions? Expand for a least-privilege IAM policy example"
245
245
You can’t perform that action at this time.
0 commit comments