Skip to content

Commit

Permalink
timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
geftactics committed Mar 8, 2024
1 parent 1bd826d commit 034eac5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
1 change: 1 addition & 0 deletions terraform/lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ resource "aws_lambda_function" "accreditation" {
role = aws_iam_role.lambda.arn
handler = "lambda.handler"
source_code_hash = data.archive_file.lambda.output_base64sha256
timeout = 10
runtime = "python3.12"

environment {
Expand Down
8 changes: 0 additions & 8 deletions terraform/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@ resource "aws_s3_bucket" "www" {
}


resource "aws_s3_account_public_access_block" "www" {
block_public_acls = true
block_public_policy = true
ignore_public_acls = true
restrict_public_buckets = true
}


locals {
folder_files = [
for file in flatten(fileset("${path.module}/public_html/**", "**")) :
Expand Down
2 changes: 1 addition & 1 deletion terraform/src/lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import uuid
from datetime import datetime, date

close_date = "2024-02-26"
close_date = "2024-05-31"


logger = logging.getLogger()
Expand Down

0 comments on commit 034eac5

Please sign in to comment.