From 3329d2db9886b1eaae9bf2406ac8fb25ef1dc7e8 Mon Sep 17 00:00:00 2001 From: "86.LAK" Date: Sun, 26 May 2024 13:41:18 +1000 Subject: [PATCH 1/2] removing output blocks --- main.tf | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/main.tf b/main.tf index 6aace1e..a7b7030 100644 --- a/main.tf +++ b/main.tf @@ -562,19 +562,6 @@ resource "aws_route53_record" "unibasement" { } } - - -resource "local_file" "url" { - content = "http://${aws_lb.unibasement.dns_name}:3000/" - filename = "./unibasement.txt" -} - -output "url" { - value = "http://${aws_lb.unibasement.dns_name}:3000/" -} - - - ////////////////////////////// Miscellaneous /////////////////////////////////// From c36b391821a016ebeddbd8fc3d70122935bc282f Mon Sep 17 00:00:00 2001 From: "86.LAK" Date: Sun, 26 May 2024 13:47:39 +1000 Subject: [PATCH 2/2] removing todo Co-authored-by: liv <82008326+vilnor@users.noreply.github.com> --- backend/src/routes/helpfulFriends.ts | 1 - frontend/src/api/usePostQuestion.ts | 1 - main.tf | 2 -- 3 files changed, 4 deletions(-) diff --git a/backend/src/routes/helpfulFriends.ts b/backend/src/routes/helpfulFriends.ts index 8082bee..fbfe30b 100644 --- a/backend/src/routes/helpfulFriends.ts +++ b/backend/src/routes/helpfulFriends.ts @@ -50,7 +50,6 @@ export function single_nest(commentRows: IComment[], commentId: number) { const bucketName = process.env.S3_BUCKET_NAME; const bucketUrl = process.env.S3_BUCKET_URL; const region = process.env.AWS_REGION; -// TODO: add creds here const s3Client = new S3Client({ region, credentials: fromContainerMetadata(), diff --git a/frontend/src/api/usePostQuestion.ts b/frontend/src/api/usePostQuestion.ts index 7a18871..b527e04 100644 --- a/frontend/src/api/usePostQuestion.ts +++ b/frontend/src/api/usePostQuestion.ts @@ -18,7 +18,6 @@ export default function usePostQuestion(examId: number) { if (questionText) { formData.append('questionText', questionText); } - // TODO: update this to take questionType as input formData.append('questionType', 'Short Answer'); // send the question diff --git a/main.tf b/main.tf index a7b7030..31d0362 100644 --- a/main.tf +++ b/main.tf @@ -239,8 +239,6 @@ resource "random_string" "auth0_secret" { special = true } -#TODO need scalability stuff for front, back db ? - resource "aws_security_group" "unibasement_frontend" { name = "unibasement_frontend" description = "unibasement Security Group"