Skip to content

Commit cdea7ee

Browse files
docs(examples): temporarily fix SAR version to v2.x (#5360)
docs: temporarily fix SAR version to v2.x Co-authored-by: Leandro Damascena <[email protected]>
1 parent 9b49e20 commit cdea7ee

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

examples/homepage/install/sar/cdk_sar.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
POWERTOOLS_BASE_NAME = "AWSLambdaPowertools"
55
# Find latest from github.com/aws-powertools/powertools-lambda-python/releases
6-
POWERTOOLS_VER = "3.0.0"
6+
POWERTOOLS_VER = "2.43.1"
77
POWERTOOLS_ARN = (
8-
"arn:aws:serverlessrepo:eu-west-1:057560766410:applications/aws-lambda-powertools-python-layer-v3-python312-x86_64"
8+
"arn:aws:serverlessrepo:eu-west-1:057560766410:applications/aws-lambda-powertools-python-layer"
99
)
1010

1111

examples/homepage/install/sar/sam.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Resources:
66
Type: AWS::Serverless::Application
77
Properties:
88
Location:
9-
ApplicationId: arn:aws:serverlessrepo:eu-west-1:057560766410:applications/aws-lambda-powertools-python-layer-v3-python312-x86_64
10-
SemanticVersion: 3.0.0 # change to latest semantic version available in SAR
9+
ApplicationId: arn:aws:serverlessrepo:eu-west-1:057560766410:applications/aws-lambda-powertools-python-layer
10+
SemanticVersion: 2.43.1 # change to latest semantic version available in SAR
1111

1212
MyLambdaFunction:
1313
Type: AWS::Serverless::Function

examples/homepage/install/sar/serverless.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ resources:
1616
Type: AWS::Serverless::Application
1717
Properties:
1818
Location:
19-
ApplicationId: arn:aws:serverlessrepo:eu-west-1:057560766410:applications/aws-lambda-powertools-python-layer-v3-python312-x86_64
20-
SemanticVersion: 2.0.0
19+
ApplicationId: arn:aws:serverlessrepo:us-east-1:057560766410:applications/aws-lambda-powertools-python-layer
20+
SemanticVersion: 2.43.1

examples/homepage/install/sar/terraform.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ resource "aws_serverlessapplicationrepository_cloudformation_stack" "deploy_sar_
2121
}
2222

2323
data "aws_serverlessapplicationrepository_application" "sar_app" {
24-
application_id = "arn:aws:serverlessrepo:eu-west-1:057560766410:applications/aws-lambda-powertools-python-layer-v3-python312-x86_64"
24+
application_id = "arn:aws:serverlessrepo:us-east-1:057560766410:applications/aws-lambda-powertools-python-layer"
2525
semantic_version = var.aws_powertools_version
2626
}
2727

2828
variable "aws_powertools_version" {
2929
type = string
30-
default = "2.0.0"
30+
default = "2.43.1"
3131
description = "The Powertools for AWS Lambda (Python) release version"
3232
}
3333

0 commit comments

Comments
 (0)