In this recipe, we will outline how to control routing within the GCP VPC to enforce custom routing decisions for hosts. This allows us to have full control of the routing for our hosts within the VPC.
Adjusting routing within a VPC
Getting ready
The Ansible control machine must be connected to the internet with reachability to GCP public API endpoints and the GCP account should be configured as outlined in the previous recipes. In addition, the resource group, virtual networks, and subnets should be provisioned as outlined in the previous recipes.
How to do it...
- Update...