mirror of
https://github.com/projecthorus/sondehub-infra.git
synced 2025-02-06 18:59:14 +00:00
fixes
This commit is contained in:
parent
5a57207ecc
commit
ebabbac166
2
main.tf
2
main.tf
@ -960,7 +960,7 @@ resource "aws_apigatewayv2_api_mapping" "ApiGatewayV2ApiMapping" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
resource "aws_apigatewayv2_domain_name" "ApiGatewayV2DomainName" {
|
resource "aws_apigatewayv2_domain_name" "ApiGatewayV2DomainName" {
|
||||||
domain_name = "api.${local.domain_name}"
|
domain_name = "api-raw.${local.domain_name}"
|
||||||
domain_name_configuration {
|
domain_name_configuration {
|
||||||
certificate_arn = aws_acm_certificate_validation.CertificateManagerCertificate.certificate_arn
|
certificate_arn = aws_acm_certificate_validation.CertificateManagerCertificate.certificate_arn
|
||||||
endpoint_type = "REGIONAL"
|
endpoint_type = "REGIONAL"
|
||||||
|
@ -192,7 +192,7 @@ def datanew(event, context):
|
|||||||
"12hours": (43200, 120), # 12h, 2m
|
"12hours": (43200, 120), # 12h, 2m
|
||||||
"6hours": (21600, 60), # 6h, 1m
|
"6hours": (21600, 60), # 6h, 1m
|
||||||
"3hours": (10800, 10), # 3h, 10s
|
"3hours": (10800, 10), # 3h, 10s
|
||||||
"1hour": (3600, 5), # 1h, 5s
|
"1hour": (3600, 10), # 1h, 5s
|
||||||
}
|
}
|
||||||
duration_query = "1hour"
|
duration_query = "1hour"
|
||||||
requested_time = datetime.now()
|
requested_time = datetime.now()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user