forked from kj4c/Alphas_Propex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
34 lines (32 loc) · 1.75 KB
/
variables.tf
File metadata and controls
34 lines (32 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# AWS Region
variable "aws_region" {
description = "The AWS region to deploy resources in"
default = "us-east-1"
}
variable "lambda_bucket_name" {
description = "The name of the existing S3 bucket where Lambda ZIPs will be stored"
default = "alphas-lambda-bucket"
}
variable "lambda_functions" {
description = "Map of Lambda function configurations"
type = map(object({
handler = string
runtime = string
method = string
}))
# Auto-detected functions from backend/
default = {
"commercial_recs_chart" = { handler = "handler.lambda_handler", runtime = "python3.9", method = "POST" }
"commercial_recs_targeted" = { handler = "handler.lambda_handler", runtime = "python3.9", method = "POST" }
"influence_factors" = { handler = "handler.lambda_handler", runtime = "python3.9", method = "POST" }
"property_prices" = { handler = "handler.lambda_handler", runtime = "python3.9", method = "POST" }
"suburb_livability_score" = { handler = "handler.lambda_handler", runtime = "python3.9", method = "POST" }
"upload_json" = { handler = "handler.lambda_handler", runtime = "python3.9", method = "POST" }
"commercial_recs" = { handler = "handler.lambda_handler", runtime = "python3.9", method = "POST" }
"suburb_price_map" = { handler = "handler.lambda_handler", runtime = "python3.9", method = "POST" }
"top_school_area" = { handler = "handler.lambda_handler", runtime = "python3.9", method = "POST" }
"investment_potential" = { handler = "handler.lambda_handler", runtime = "python3.9", method = "POST" }
"property_affordability_index" = { handler = "handler.lambda_handler", runtime = "python3.9", method = "POST" }
"crime_rate" = { handler = "handler.lambda_handler", runtime = "python3.9", method = "POST" }
}
}