mirror of
https://github.com/projecthorus/sondehub-infra.git
synced 2025-04-22 17:51:03 +00:00
Terraform fmt [skip ci]
This commit is contained in:
parent
a0ecb81442
commit
7ef560230e
18
es.tf
18
es.tf
@ -109,8 +109,8 @@ resource "aws_cognito_identity_pool" "CognitoIdentityPool" {
|
||||
}
|
||||
|
||||
cognito_identity_providers {
|
||||
client_id = "u3ggvo1spp1e6cffbietq7fbm"
|
||||
provider_name = "cognito-idp.us-east-1.amazonaws.com/us-east-1_G4H7NMniM"
|
||||
client_id = "u3ggvo1spp1e6cffbietq7fbm"
|
||||
provider_name = "cognito-idp.us-east-1.amazonaws.com/us-east-1_G4H7NMniM"
|
||||
}
|
||||
|
||||
}
|
||||
@ -127,16 +127,16 @@ resource "aws_cognito_identity_pool_roles_attachment" "CognitoIdentityPoolRoleAt
|
||||
type = "Token"
|
||||
}
|
||||
role_mapping {
|
||||
ambiguous_role_resolution = "AuthenticatedRole"
|
||||
identity_provider = "cognito-idp.us-east-1.amazonaws.com/us-east-1_G4H7NMniM:227g2bbcb2tqjfii1ipt2tj5m6"
|
||||
type = "Token"
|
||||
ambiguous_role_resolution = "AuthenticatedRole"
|
||||
identity_provider = "cognito-idp.us-east-1.amazonaws.com/us-east-1_G4H7NMniM:227g2bbcb2tqjfii1ipt2tj5m6"
|
||||
type = "Token"
|
||||
}
|
||||
|
||||
role_mapping {
|
||||
ambiguous_role_resolution = "AuthenticatedRole"
|
||||
identity_provider = "cognito-idp.us-east-1.amazonaws.com/us-east-1_G4H7NMniM:u3ggvo1spp1e6cffbietq7fbm"
|
||||
type = "Token"
|
||||
}
|
||||
ambiguous_role_resolution = "AuthenticatedRole"
|
||||
identity_provider = "cognito-idp.us-east-1.amazonaws.com/us-east-1_G4H7NMniM:u3ggvo1spp1e6cffbietq7fbm"
|
||||
type = "Token"
|
||||
}
|
||||
role_mapping {
|
||||
ambiguous_role_resolution = "AuthenticatedRole"
|
||||
identity_provider = "cognito-idp.us-east-1.amazonaws.com/us-east-1_G4H7NMniM:7v892rnrta8ms785pl0aaqo8ke"
|
||||
|
24
ham_query.tf
24
ham_query.tf
@ -130,20 +130,20 @@ resource "aws_lambda_permission" "ham_get_listener_telemetry" {
|
||||
}
|
||||
|
||||
resource "aws_apigatewayv2_route" "ham_get_listener_telemetry" {
|
||||
api_id = aws_apigatewayv2_api.main.id
|
||||
api_key_required = false
|
||||
authorization_type = "NONE"
|
||||
route_key = "GET /amateur/listeners/telemetry"
|
||||
target = "integrations/${aws_apigatewayv2_integration.ham_get_listener_telemetry.id}"
|
||||
api_id = aws_apigatewayv2_api.main.id
|
||||
api_key_required = false
|
||||
authorization_type = "NONE"
|
||||
route_key = "GET /amateur/listeners/telemetry"
|
||||
target = "integrations/${aws_apigatewayv2_integration.ham_get_listener_telemetry.id}"
|
||||
}
|
||||
|
||||
|
||||
resource "aws_apigatewayv2_integration" "ham_get_listener_telemetry" {
|
||||
api_id = aws_apigatewayv2_api.main.id
|
||||
connection_type = "INTERNET"
|
||||
integration_method = "POST"
|
||||
integration_type = "AWS_PROXY"
|
||||
integration_uri = aws_lambda_function.ham_get_listener_telemetry.arn
|
||||
timeout_milliseconds = 30000
|
||||
payload_format_version = "2.0"
|
||||
api_id = aws_apigatewayv2_api.main.id
|
||||
connection_type = "INTERNET"
|
||||
integration_method = "POST"
|
||||
integration_type = "AWS_PROXY"
|
||||
integration_uri = aws_lambda_function.ham_get_listener_telemetry.arn
|
||||
timeout_milliseconds = 30000
|
||||
payload_format_version = "2.0"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user