Skip to content

Commit

Permalink
Fix python version (#195)
Browse files Browse the repository at this point in the history
* python version chandeg from 3.8 to 3.11

* fix: python version chandeg from 3.8 to 3.11

* fix: update error.html file

* fix: mise a jour de la version du provider

* downgrade version provider et python 3.10

* remis python 3.8

* fix: remise de la version python 3.8

* fix: correction bug

* fix: terratag

---------

Co-authored-by: kmt fo <[email protected]>
Co-authored-by: Bill Metangmo <[email protected]>
  • Loading branch information
3 people authored Nov 28, 2024
1 parent e3767e6 commit 4715e82
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion html/error.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@
<title>Error</title>
</head>
<body>

</body>
</html>
5 changes: 1 addition & 4 deletions infra/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,8 @@ resource "aws_s3_bucket_public_access_block" "website" {
depends_on = [aws_s3_bucket.website]
}


resource "aws_s3_bucket_policy" "website" {
bucket = aws_s3_bucket.website.id

policy = jsonencode({
Version = "2012-10-17"
Statement = [
Expand Down Expand Up @@ -170,7 +168,7 @@ resource "aws_lambda_permission" "apigw_lambda" {
resource "aws_lambda_layer_version" "test_lambda_layer" {
filename = "make_lamda_layer/python.zip"
layer_name = "test_lambda_layer"
compatible_runtimes = ["python3.8", "python3.7"]
compatible_runtimes = ["python3.8"]
}

resource "aws_lambda_function" "lambda" {
Expand Down Expand Up @@ -227,7 +225,6 @@ resource "aws_lambda_function" "scan" {

}
}

tags = local.terratag_added_main
}

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ selenium-wire==4.2.0
certifi>=2023.7.22 # not directly required, pinned by Snyk to avoid a vulnerability
requests>=2.32.2 # not directly required, pinned by Snyk to avoid a vulnerability
urllib3>=2.2.2 # not directly required, pinned by Snyk to avoid a vulnerability
Werkzeug==2.1.2
Werkzeug==2.1.2

0 comments on commit 4715e82

Please sign in to comment.