Terraform module for connecting a HashiCorp Cloud Platform (HCP) Consul cluster to Azure.
This module connects a HashiCorp Virtual Network (HVN) with an Azure VNet, ensuring that all networking rules are in place to allow a Consul client to communicate with the HCP Consul servers. The module accomplishes this in by:
- Create and accept a peering connection between the HVN and VNet
- Create HVN routes that will direct HCP traffic to the CIDR ranges of the subnets.
- Create Azure ingress rules necessary for HCP Consul to communicate to Consul clients.
These examples allow you to easily research and demo HCP Consul.
- hcp-vm-demo - Use Azure virtual machines to run Consul clients
- hcp-aks-demo - Use an AKS cluster to deploy Consul clients
This code is released under the Mozilla Public License 2.0. Please see LICENSE for more details.