Skip to content

Commit bb32535

Browse files
authored
Python 3.10 runtime support for python lambda layer (#633)
1 parent ad219b1 commit bb32535

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/main-build-python38.yml renamed to .github/workflows/main-build-python39.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
TF_VAR_sdk_layer_name: opentelemetry-python-aws-sdk-wrapper-${{ matrix.architecture }}
8686
TF_VAR_function_name: ${{ env.TERRAFORM_LAMBDA_FUNCTION_NAME }}
8787
TF_VAR_architecture: ${{ env.LAMBDA_FUNCTION_ARCH }}
88-
TF_VAR_runtime: 'python3.8'
88+
TF_VAR_runtime: 'python3.9'
8989
- name: Extract endpoint
9090
id: extract-endpoint
9191
run: terraform output -raw api-gateway-url

adot/python/src/template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Resources:
1414
Description: Opentelemetry Python layer
1515
ContentUri: ./otel
1616
CompatibleRuntimes:
17-
- python3.8
17+
- python3.10
1818
- python3.9
1919
Metadata:
2020
BuildMethod: makefile

python/integration-tests/aws-sdk/wrapper/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ locals {
55
resource "aws_lambda_layer_version" "sdk_layer" {
66
layer_name = var.sdk_layer_name
77
filename = "${path.module}/../../../../opentelemetry-lambda/python/src/build/layer.zip"
8-
compatible_runtimes = ["python3.8", "python3.9"]
8+
compatible_runtimes = ["python3.10", "python3.9"]
99
license_info = "Apache-2.0"
1010
source_code_hash = filebase64sha256("${path.module}/../../../../opentelemetry-lambda/python/src/build/layer.zip")
1111
}

python/integration-tests/aws-sdk/wrapper/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ variable "architecture" {
2525
variable "runtime" {
2626
type = string
2727
description = "Python runtime version used for sample Lambda Function"
28-
default = "python3.9"
28+
default = "python3.10"
2929
}
3030

3131
variable "tracing_mode" {

0 commit comments

Comments
 (0)