Bumps [qs](https://github.com/ljharb/qs) to 6.14.1 and updates ancestor dependency [@google-cloud/functions-framework](https://github.com/GoogleCloudPlatform/functions-framework-nodejs). These dependencies need to be updated together. Updates `qs` from 6.13.0 to 6.14.1 - [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md) - [Commits](https://github.com/ljharb/qs/compare/v6.13.0...v6.14.1) Updates `@google-cloud/functions-framework` from 4.0.0 to 4.0.1 - [Release notes](https://github.com/GoogleCloudPlatform/functions-framework-nodejs/releases) - [Changelog](https://github.com/GoogleCloudPlatform/functions-framework-nodejs/blob/main/CHANGELOG.md) - [Commits](https://github.com/GoogleCloudPlatform/functions-framework-nodejs/compare/v4.0.0...v4.0.1) --- updated-dependencies: - dependency-name: qs dependency-version: 6.14.1 dependency-type: indirect - dependency-name: "@google-cloud/functions-framework" dependency-version: 4.0.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Multi-region deployment for API Gateway
This recipe shows you how to configure an HTTP(S) load balancer to enable multi-region deployments for API Gateway. For more details on how this set up work have a look at the article here.
The diagram below depicts the architecture that this blueprint sets up.
Once deployed do the following to see that it works:
-
Copy the IP address returned as output
-
Execute the following command:
curl -k -v https://example.com/hello --resolve example.com:443:<IP_ADDRESS>
Variables
| name | description | type | required | default |
|---|---|---|---|---|
| project_id | Identifier of the project. | string |
✓ | |
| regions | List of regions to deploy the proxy in. | list(string) |
✓ | |
| _testing | Populate this variable to avoid triggering the data source. | object({…}) |
null |
Outputs
| name | description | sensitive |
|---|---|---|
| address | LB IP address. |
Test
module "test" {
source = "./fabric/modules/api-gateway/recipe-multi-region"
project_id = "project-1"
regions = [
"europe-west1",
"us-central1"
]
_testing = {
name = "project-1"
number = 1234567890
}
}
# tftest modules=8 resources=47
