Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(examples): temporarily fix SAR version to v2.x #5360

Merged
merged 2 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/homepage/install/sar/cdk_sar.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

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


Expand Down
4 changes: 2 additions & 2 deletions examples/homepage/install/sar/sam.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Resources:
Type: AWS::Serverless::Application
Properties:
Location:
ApplicationId: arn:aws:serverlessrepo:eu-west-1:057560766410:applications/aws-lambda-powertools-python-layer-v3-python312-x86_64
SemanticVersion: 3.0.0 # change to latest semantic version available in SAR
ApplicationId: arn:aws:serverlessrepo:eu-west-1:057560766410:applications/aws-lambda-powertools-python-layer
SemanticVersion: 2.43.1 # change to latest semantic version available in SAR

MyLambdaFunction:
Type: AWS::Serverless::Function
Expand Down
4 changes: 2 additions & 2 deletions examples/homepage/install/sar/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ resources:
Type: AWS::Serverless::Application
Properties:
Location:
ApplicationId: arn:aws:serverlessrepo:eu-west-1:057560766410:applications/aws-lambda-powertools-python-layer-v3-python312-x86_64
SemanticVersion: 2.0.0
ApplicationId: arn:aws:serverlessrepo:us-east-1:057560766410:applications/aws-lambda-powertools-python-layer
SemanticVersion: 2.43.1
4 changes: 2 additions & 2 deletions examples/homepage/install/sar/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ resource "aws_serverlessapplicationrepository_cloudformation_stack" "deploy_sar_
}

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

variable "aws_powertools_version" {
type = string
default = "2.0.0"
default = "2.43.1"
description = "The Powertools for AWS Lambda (Python) release version"
}

Expand Down