Merge pull request #831 from Hestia-Homes/deploy-fastapi-with-terraform

Deploy fastapi with terraform: formatting corrections
This commit is contained in:
Jun-te Kim 2026-03-11 12:04:07 +00:00 committed by GitHub
commit db7ef14d7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 38 additions and 11 deletions

View file

@ -4,6 +4,6 @@ output "categorisation_queue_url" {
}
output "categorisation_queue_arn" {
value = module.lambda.queu_arn
value = module.lambda.queue_arn
description = "ARN of the Categorisation SQS queue"
}

View file

@ -4,6 +4,6 @@ output "ara_engine_queue_url" {
}
output "ara_engine_queue_arn" {
value = module.lambda.queu_arn
value = module.lambda.queue_arn
description = "ARN of the Engine SQS queue"
}

View file

@ -4,6 +4,15 @@ variable "filename" { type = string }
variable "source_code_hash" { type = string }
variable "handler" { type = string }
variable "runtime" { type = string }
variable "timeout" { type = number default = 30 }
variable "memory_size" { type = number default = 128 }
variable "environment" { type = map(string) default = {} }
variable "timeout" {
type = number
default = 30
}
variable "memory_size" {
type = number
default = 128
}
variable "environment" {
type = map(string)
default = {}
}

View file

@ -9,10 +9,28 @@ variable "zip_excludes" {
default = ["**/__pycache__/**", "**/*.pyc", "**/.pytest_cache/**"]
}
variable "timeout" { type = number default = 600 }
variable "memory_size" { type = number default = 512 }
variable "environment" { type = map(string) default = {} }
variable "timeout" {
type = number
default = 600
}
variable "memory_size" {
type = number
default = 512
}
variable "environment" {
type = map(string)
default = {}
}
variable "domain_name" { type = string default = null }
variable "certificate_arn" { type = string default = null }
variable "route53_zone_id" { type = string default = null }
variable "domain_name" {
type = string
default = null
}
variable "certificate_arn" {
type = string
default = null
}
variable "route53_zone_id" {
type = string
default = null
}