diff --git a/integration-tests/iac/lib/integration-tests-stack.ts b/integration-tests/iac/lib/integration-tests-stack.ts index faf8151..965a789 100644 --- a/integration-tests/iac/lib/integration-tests-stack.ts +++ b/integration-tests/iac/lib/integration-tests-stack.ts @@ -242,6 +242,10 @@ class PythonStack extends cdk.NestedStack { restApiName: `${props.prefix}apigw-error-500-${suffix}`, handler: fn, proxy: true, + // REGIONAL avoids the account-wide 120-per-region quota on EDGE-type + // APIs, which every concurrently open PR's integration-test stack + // otherwise eats into (17 REST APIs per stack). + endpointConfiguration: { types: [apigateway.EndpointType.REGIONAL] }, }); } } diff --git a/integration-tests/iac/lib/node-tracing-scenarios-stack.ts b/integration-tests/iac/lib/node-tracing-scenarios-stack.ts index 7b7141e..67b49d1 100644 --- a/integration-tests/iac/lib/node-tracing-scenarios-stack.ts +++ b/integration-tests/iac/lib/node-tracing-scenarios-stack.ts @@ -264,6 +264,10 @@ export class NodeTracingScenariosStack extends cdk.NestedStack { restApiName: `${prefix}tracing-test-api-${runtimeName}`, handler: apiGatewayConsumer, proxy: true, + // REGIONAL avoids the account-wide 120-per-region quota on EDGE-type + // APIs, which every concurrently open PR's integration-test stack + // otherwise eats into. + endpointConfiguration: { types: [apigateway.EndpointType.REGIONAL] }, }); const apiGatewayProducer = new lambda.Function(this, `ApiGatewayProducerLambda-${runtimeName}`, { diff --git a/integration-tests/iac/lib/python-tracing-scenarios-stack.ts b/integration-tests/iac/lib/python-tracing-scenarios-stack.ts index f3672d4..c660186 100644 --- a/integration-tests/iac/lib/python-tracing-scenarios-stack.ts +++ b/integration-tests/iac/lib/python-tracing-scenarios-stack.ts @@ -281,6 +281,10 @@ export class PythonTracingScenariosStack extends cdk.NestedStack { restApiName: `${prefix}tracing-test-api-${runtimeName}`, handler: apiGatewayConsumer, proxy: true, + // REGIONAL avoids the account-wide 120-per-region quota on EDGE-type + // APIs, which every concurrently open PR's integration-test stack + // otherwise eats into. + endpointConfiguration: { types: [apigateway.EndpointType.REGIONAL] }, }); const apiGatewayProducer = new lambda.Function(this, `ApiGatewayProducerLambda-${runtimeName}`, {