Skip to content

Commit 462ac55

Browse files
Merge branch 'main' into #106-clientweb
2 parents ef682ec + b7ed35a commit 462ac55

File tree

10 files changed

+39
-32
lines changed

10 files changed

+39
-32
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
- "*"
66
paths-ignore:
77
- 'client/web/**'
8+
- "backend/**"
89
jobs:
910
build:
1011
runs-on: ubuntu-latest

.github/workflows/pytest.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- "*"
77
paths-ignore:
88
- 'client/web/**'
9+
- "backend/**"
910
jobs:
1011
test:
1112
runs-on: ubuntu-latest
@@ -19,7 +20,7 @@ jobs:
1920
- name: Setup Python
2021
uses: actions/setup-python@v2
2122
with:
22-
python-version: "3.10"
23+
python-version: "3.11"
2324

2425
- name: Install pipenv
2526
run: |

.github/workflows/terraform.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- closed
88
paths-ignore:
99
- 'client/web/**'
10+
- "backend/**"
1011
permissions:
1112
id-token: write # This is required for aws oidc connection
1213
contents: read # This is required for actions/checkout
@@ -28,7 +29,7 @@ jobs:
2829
- name: Set up Python
2930
uses: actions/setup-python@v2
3031
with:
31-
python-version: "3.10"
32+
python-version: "3.11"
3233

3334
- name: Install Lambda (Python) dependencies
3435
run: |
@@ -51,7 +52,7 @@ jobs:
5152
- name: Setup Terraform
5253
uses: hashicorp/setup-terraform@v2
5354
with:
54-
terraform_version: 1.11.2
55+
terraform_version: 1.12.1
5556

5657
- name: Terraform fmt
5758
id: fmt

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
inventory.ini
2+
13
# Byte-compiled / optimized / DLL files
24
__pycache__/
35
*.py[cod]

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.10
1+
3.11

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ black = "*"
1515
tomli = "*"
1616

1717
[requires]
18-
python_version = "3.10"
18+
python_version = "3.11"
1919

2020
[scripts]
2121
test = "pytest test/ -v"

Pipfile.lock

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

template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Resources:
2525
Properties:
2626
CodeUri: src/
2727
Handler: app.lambda_handler
28-
Runtime: python3.10
28+
Runtime: python3.11
2929
Timeout: 5
3030
Architectures:
3131
- x86_64

terraform/main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@ terraform {
22
required_providers {
33
aws = {
44
source = "hashicorp/aws"
5-
version = "5.92.0"
5+
version = "5.98.0"
66
}
77
random = {
88
source = "hashicorp/random"
9-
version = "3.7.1"
9+
version = "3.7.2"
1010
}
1111
archive = {
1212
source = "hashicorp/archive"
13-
version = "2.7.0"
13+
version = "2.7.1"
1414
}
1515
local = {
1616
source = "hashicorp/local"
1717
version = "2.5.2"
1818
}
1919
}
2020

21-
required_version = "1.11.2"
21+
required_version = "1.12.1"
2222
}
2323

2424
provider "aws" {

terraform/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ variable "region" {
1717

1818
variable "python_runtime" {
1919
type = string
20-
default = "python3.10"
20+
default = "python3.11"
2121
description = "runtime on which lambda python code will run"
2222
}
2323

0 commit comments

Comments
 (0)