diff --git a/terraform/api_gateway.tf b/terraform/api_gateway.tf index 96aaa398..86fbd3b7 100644 --- a/terraform/api_gateway.tf +++ b/terraform/api_gateway.tf @@ -58,7 +58,7 @@ module "api_gateway" { allow_methods = ["DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT"] allow_origins = sort([ "https://${local.api_domain_name}", - "http://${var.website_domain_name}", + "https://${var.website_domain_name}", ]) allow_credentials = true allow_headers = [