mirror of
https://github.com/FoggedLens/deflock.git
synced 2026-08-16 07:30:23 +02:00
use arm64 for alpr_cache (renamed from alpr_cluster)
This commit is contained in:
@@ -53,6 +53,7 @@ resource "aws_lambda_function" "overpass_lambda" {
|
||||
image_uri = "${aws_ecr_repository.lambda_repository.repository_url}:latest"
|
||||
timeout = 180
|
||||
memory_size = 512
|
||||
architectures = ["arm64"]
|
||||
environment {
|
||||
variables = {
|
||||
UPDATE_RATE_MINS = var.rate
|
||||
@@ -108,4 +109,4 @@ resource "aws_cloudwatch_metric_alarm" "lambda_error_alarm" {
|
||||
threshold = 0
|
||||
comparison_operator = "GreaterThanThreshold"
|
||||
alarm_actions = [var.sns_topic_arn]
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
output "ecr_repository_url" {
|
||||
value = aws_ecr_repository.lambda_repository.repository_url
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -13,4 +13,4 @@ variable "rate" {
|
||||
variable "sns_topic_arn" {
|
||||
description = "The ARN of the SNS topic for Lambda alarms"
|
||||
type = string
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user