This commit is contained in:
Michaela 2021-03-14 13:43:19 +11:00
parent 5a57207ecc
commit ebabbac166
2 changed files with 2 additions and 2 deletions

View File

@ -960,7 +960,7 @@ resource "aws_apigatewayv2_api_mapping" "ApiGatewayV2ApiMapping" {
}
resource "aws_apigatewayv2_domain_name" "ApiGatewayV2DomainName" {
domain_name = "api.${local.domain_name}"
domain_name = "api-raw.${local.domain_name}"
domain_name_configuration {
certificate_arn = aws_acm_certificate_validation.CertificateManagerCertificate.certificate_arn
endpoint_type = "REGIONAL"

View File

@ -192,7 +192,7 @@ def datanew(event, context):
"12hours": (43200, 120), # 12h, 2m
"6hours": (21600, 60), # 6h, 1m
"3hours": (10800, 10), # 3h, 10s
"1hour": (3600, 5), # 1h, 5s
"1hour": (3600, 10), # 1h, 5s
}
duration_query = "1hour"
requested_time = datetime.now()