diff --git a/namespaces/live.cloud-platform.service.justice.gov.uk/hmpps-integration-api-preprod/resources/api_gateway.tf b/namespaces/live.cloud-platform.service.justice.gov.uk/hmpps-integration-api-preprod/resources/api_gateway.tf index a59703812f0..9defb0cb975 100644 --- a/namespaces/live.cloud-platform.service.justice.gov.uk/hmpps-integration-api-preprod/resources/api_gateway.tf +++ b/namespaces/live.cloud-platform.service.justice.gov.uk/hmpps-integration-api-preprod/resources/api_gateway.tf @@ -109,7 +109,7 @@ resource "aws_api_gateway_method" "proxy" { resource_id = aws_api_gateway_resource.proxy.id http_method = "ANY" authorization = "NONE" - api_key_required = true + api_key_required = false request_parameters = { "method.request.path.proxy" = true diff --git a/namespaces/live.cloud-platform.service.justice.gov.uk/hmpps-integration-api-preprod/resources/api_gateway_mapps_resources.tf b/namespaces/live.cloud-platform.service.justice.gov.uk/hmpps-integration-api-preprod/resources/api_gateway_mapps_resources.tf index 909cfa0f725..b1542edc6c8 100644 --- a/namespaces/live.cloud-platform.service.justice.gov.uk/hmpps-integration-api-preprod/resources/api_gateway_mapps_resources.tf +++ b/namespaces/live.cloud-platform.service.justice.gov.uk/hmpps-integration-api-preprod/resources/api_gateway_mapps_resources.tf @@ -15,7 +15,7 @@ resource "aws_api_gateway_method" "sqs_mapps_method" { resource_id = aws_api_gateway_resource.sqs_mapps_resource.id http_method = "GET" authorization = "NONE" - api_key_required = true + api_key_required = false depends_on = [ aws_api_gateway_rest_api.api_gateway,