mirror of
https://github.com/projecthorus/sondehub-infra.git
synced 2025-02-21 17:26:37 +00:00
running fmt
This commit is contained in:
parent
79bdf5cc4d
commit
a57a4512a9
10
es.tf
10
es.tf
@ -18,8 +18,8 @@ resource "aws_elasticsearch_domain" "ElasticsearchDomain" {
|
||||
user_pool_id = aws_cognito_user_pool.CognitoUserPool.id
|
||||
}
|
||||
domain_endpoint_options {
|
||||
enforce_https = true
|
||||
tls_security_policy = "Policy-Min-TLS-1-2-2019-07"
|
||||
enforce_https = true
|
||||
tls_security_policy = "Policy-Min-TLS-1-2-2019-07"
|
||||
custom_endpoint = "es.v2.sondehub.org"
|
||||
custom_endpoint_certificate_arn = "arn:aws:acm:us-east-1:143841941773:certificate/a7da821c-bdbc-404b-aa12-bce28d86cdeb"
|
||||
custom_endpoint_enabled = true
|
||||
@ -100,9 +100,9 @@ resource "aws_cognito_identity_pool" "CognitoIdentityPool" {
|
||||
server_side_token_check = false
|
||||
}
|
||||
cognito_identity_providers {
|
||||
client_id = "7v892rnrta8ms785pl0aaqo8ke"
|
||||
provider_name = "cognito-idp.us-east-1.amazonaws.com/us-east-1_G4H7NMniM"
|
||||
server_side_token_check = false
|
||||
client_id = "7v892rnrta8ms785pl0aaqo8ke"
|
||||
provider_name = "cognito-idp.us-east-1.amazonaws.com/us-east-1_G4H7NMniM"
|
||||
server_side_token_check = false
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -224,7 +224,7 @@ resource "aws_ecs_task_definition" "tawhiri" {
|
||||
dependsOn = [
|
||||
{
|
||||
containerName = "downloader"
|
||||
condition = "SUCCESS"
|
||||
condition = "SUCCESS"
|
||||
}
|
||||
]
|
||||
cpu = 0
|
||||
@ -260,7 +260,7 @@ resource "aws_ecs_task_definition" "tawhiri" {
|
||||
volumesFrom = []
|
||||
},
|
||||
{
|
||||
cpu = 0
|
||||
cpu = 0
|
||||
environment = [
|
||||
{
|
||||
name = "TZ"
|
||||
@ -701,8 +701,8 @@ resource "aws_lambda_permission" "predictor_update_trigger_lambda" {
|
||||
|
||||
resource "aws_sns_topic_subscription" "predictor_update_trigger_lambda" {
|
||||
topic_arn = "arn:aws:sns:us-east-1:123901341784:NewGFSObject"
|
||||
protocol = "lambda"
|
||||
endpoint = aws_lambda_function.predictor_update_trigger_lambda.arn
|
||||
protocol = "lambda"
|
||||
endpoint = aws_lambda_function.predictor_update_trigger_lambda.arn
|
||||
}
|
||||
|
||||
# sns subscription
|
@ -96,12 +96,12 @@ resource "aws_sqs_queue" "sqs_to_elk" {
|
||||
receive_wait_time_seconds = 1
|
||||
message_retention_seconds = 1209600 # 14 days
|
||||
|
||||
redrive_policy = jsonencode(
|
||||
{
|
||||
deadLetterTargetArn = "arn:aws:sqs:us-east-1:143841941773:to-elk-dlq"
|
||||
maxReceiveCount = 100
|
||||
}
|
||||
)
|
||||
redrive_policy = jsonencode(
|
||||
{
|
||||
deadLetterTargetArn = "arn:aws:sqs:us-east-1:143841941773:to-elk-dlq"
|
||||
maxReceiveCount = 100
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
resource "aws_sqs_queue_policy" "sqs_to_elk" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user