Skip to content

Commit

Permalink
terraform fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-calabrese committed Sep 9, 2024
1 parent 7ffd45f commit e539de8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions apps/infrastructure/src/modules/chatbot/api_gateway_rest.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ resource "aws_api_gateway_base_path_mapping" "path_mapping" {
}

resource "aws_api_gateway_domain_name" "domain_name" {
domain_name = "api.${var.dns_chatbot_hosted_zone.name}"
domain_name = "api.${var.dns_chatbot_hosted_zone.name}"
regional_certificate_arn = module.ssl_certificate.acm_certificate_arn

endpoint_configuration {
Expand Down Expand Up @@ -59,10 +59,10 @@ resource "aws_api_gateway_method" "chatbot" {
}

resource "aws_api_gateway_method" "chatbot_cors" {
rest_api_id = aws_api_gateway_rest_api.api.id
resource_id = aws_api_gateway_resource.chatbot.id
http_method = "OPTIONS"
authorization = "NONE"
rest_api_id = aws_api_gateway_rest_api.api.id
resource_id = aws_api_gateway_resource.chatbot.id
http_method = "OPTIONS"
authorization = "NONE"
request_parameters = {
"method.request.path.proxy" = true
}
Expand Down

0 comments on commit e539de8

Please sign in to comment.