diff --git a/lambdas/inference/lambda_integration.tf b/lambdas/inference/lambda_integration.tf index fd685fb..359c6e6 100644 --- a/lambdas/inference/lambda_integration.tf +++ b/lambdas/inference/lambda_integration.tf @@ -23,6 +23,6 @@ module "integration_cognito" { lambda_function_arn = module.lambda_function_container_image.lambda_function_arn lambda_function_name = var.lambda_function_name api_key_required = false - authorization_type = "COGNITO_USER_POOLS" - authorizer_id = var.cognito_user_pool_id -} \ No newline at end of file + authorization_type = "COGNITO_USER_POOLS" + authorizer_id = var.cognito_user_pool_id +} diff --git a/terraform/api_gateway.tf b/terraform/api_gateway.tf index 05ef7a5..513d283 100644 --- a/terraform/api_gateway.tf +++ b/terraform/api_gateway.tf @@ -61,7 +61,6 @@ resource "aws_api_gateway_authorizer" "this" { ## Logging - resource "aws_api_gateway_account" "this" { cloudwatch_role_arn = aws_iam_role.this.arn }