mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-08 11:17:29 +00:00
add db
This commit is contained in:
parent
ec6f0877f0
commit
4d8aa2dcd3
1 changed files with 6 additions and 0 deletions
|
|
@ -64,6 +64,12 @@ resource "aws_lambda_function" "extractor_and_loader" {
|
|||
|
||||
# Increase memory (default 128 MB)
|
||||
memory_size = 2048 # try 1024 or 2048 MB to start
|
||||
|
||||
environment {
|
||||
variables = {
|
||||
DATABASE_URL = "postgresql://postgres:makingwarmhomes@terraform-20250331175522503500000002.cdgzupxvdyp0.eu-west-2.rds.amazonaws.com:5432/surveyDB"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# SQS trigger
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue