Skip to content

Commit

Permalink
fix: Update python version in terraform to keep consistent (#1518)
Browse files Browse the repository at this point in the history
  • Loading branch information
MCatherine1994 authored Aug 7, 2024
1 parent 1a2b3bc commit 37464c6
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
-Dsonar.organization=bcgov-sonarcloud
-Dsonar.projectKey=nr-forests-access-management_auth
-Dsonar.python.coverage.reportPaths=*coverage*.xml
-Dsonar.python.version=3.8
-Dsonar.python.version=3.12
-Dsonar.sources=.
-Dsonar.tests=test
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
-Dsonar.organization=bcgov-sonarcloud
-Dsonar.projectKey=nr-forests-access-management_backend
-Dsonar.python.coverage.reportPaths=*coverage*.xml
-Dsonar.python.version=3.8
-Dsonar.python.version=3.12
-Dsonar.sources=api
-Dsonar.tests=testspg
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
-Dsonar.organization=bcgov-sonarcloud
-Dsonar.projectKey=nr-forests-access-management_admin
-Dsonar.python.coverage.reportPaths=*coverage*.xml
-Dsonar.python.version=3.8
-Dsonar.python.version=3.12
-Dsonar.sources=api
-Dsonar.tests=tests
Expand Down
1 change: 0 additions & 1 deletion docker-base-services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# These exceptions exist to avoid implicit dependencies; you always define volumes_from locally."
#
---
version: "3.8"
services:
fam-database:
image: postgres:14.1-alpine
Expand Down
1 change: 0 additions & 1 deletion docker-compose-testcontainer.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
version: "3.8"
services:
fam-database:
extends:
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
version: "3.8"
services:
fam-database:
extends:
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/server/auth_lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ resource "aws_lambda_function" "fam-auth-function" {

source_code_hash = filebase64sha256("fam_auth_function.zip")

runtime = "python3.8"
runtime = "python3.12"

vpc_config {
security_group_ids = ["${aws_security_group.fam_app_sg.id}"]
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/server/fam_admin_management_api.tf
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ resource "aws_lambda_function" "fam_admin_management_api_function" {

source_code_hash = filebase64sha256("fam-admin-management-api.zip")

runtime = "python3.8"
runtime = "python3.12"

vpc_config {
security_group_ids = ["${aws_security_group.fam_app_sg.id}"]
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/server/fam_api.tf
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ resource "aws_lambda_function" "fam-api-function" {

source_code_hash = filebase64sha256("fam-ui-api.zip")

runtime = "python3.8"
runtime = "python3.12"

vpc_config {
security_group_ids = ["${aws_security_group.fam_app_sg.id}"]
Expand Down

0 comments on commit 37464c6

Please sign in to comment.