Skip to content

Commit 876ffaa

Browse files
committed
Update versions used in poetry example
1 parent c85fddf commit 876ffaa

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

examples/build-package/main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ module "package_dir_poetry" {
5252
create_function = false
5353

5454
build_in_docker = true
55-
runtime = "python3.8"
55+
runtime = "python3.9"
5656
docker_image = "build-python3.9-poetry"
5757
docker_file = "${path.module}/../fixtures/python3.9-app-poetry/docker/Dockerfile"
5858

@@ -312,7 +312,7 @@ module "lambda_layer_poetry" {
312312

313313
create_layer = true
314314
layer_name = "${random_pet.this.id}-layer-poetry-dockerfile"
315-
compatible_runtimes = ["python3.8"]
315+
compatible_runtimes = ["python3.9"]
316316

317317
source_path = [
318318
{
@@ -323,8 +323,8 @@ module "lambda_layer_poetry" {
323323
hash_extra = "extra-hash-to-prevent-conflicts-with-module.package_dir"
324324

325325
build_in_docker = true
326-
runtime = "python3.8"
327-
docker_image = "build-python3.8-poetry"
326+
runtime = "python3.9"
327+
docker_image = "build-python3.9-poetry"
328328
docker_file = "${path.module}/../fixtures/python3.9-app-poetry/docker/Dockerfile"
329329
artifacts_dir = "${path.root}/builds/lambda_layer_poetry/"
330330
}

examples/fixtures/python3.9-app-poetry/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ FROM public.ecr.aws/sam/build-python3.9
33
LABEL maintainer="Betajob AS" \
44
description="Patched AWS Lambda build container"
55

6-
RUN pip install poetry==1.2.1
6+
RUN pip install poetry==1.2.2

examples/fixtures/python3.9-app-poetry/poetry.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/fixtures/python3.9-app-poetry/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = ""
55
authors = ["Your Name <you@example.com>"]
66

77
[tool.poetry.dependencies]
8-
python = "^3.6"
8+
python = "^3.7"
99
colorful = "^0.5.4"
1010

1111
[tool.poetry.dev-dependencies]

0 commit comments

Comments
 (0)