Skip to content

Commit

Permalink
Update versions used in poetry example
Browse files Browse the repository at this point in the history
  • Loading branch information
pdecat committed Oct 22, 2022
1 parent 843b179 commit 472312c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions examples/build-package/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ module "package_dir_poetry" {
create_function = false

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

Expand Down Expand Up @@ -312,7 +312,7 @@ module "lambda_layer_poetry" {

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

source_path = [
{
Expand All @@ -323,8 +323,8 @@ module "lambda_layer_poetry" {
hash_extra = "extra-hash-to-prevent-conflicts-with-module.package_dir"

build_in_docker = true
runtime = "python3.8"
docker_image = "build-python3.8-poetry"
runtime = "python3.9"
docker_image = "build-python3.9-poetry"
docker_file = "${path.module}/../fixtures/python3.9-app-poetry/docker/Dockerfile"
artifacts_dir = "${path.root}/builds/lambda_layer_poetry/"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/fixtures/python3.9-app-poetry/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ FROM public.ecr.aws/sam/build-python3.9
LABEL maintainer="Betajob AS" \
description="Patched AWS Lambda build container"

RUN pip install poetry==1.2.1
RUN pip install poetry==1.2.2
10 changes: 5 additions & 5 deletions examples/fixtures/python3.9-app-poetry/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/fixtures/python3.9-app-poetry/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = ""
authors = ["Your Name <you@example.com>"]

[tool.poetry.dependencies]
python = "^3.6"
python = "^3.7"
colorful = "^0.5.4"

[tool.poetry.dev-dependencies]
Expand Down

0 comments on commit 472312c

Please sign in to comment.