Terraform module to deploy cPacket and Corelight observability network
This module deploys a cPacket and Corelight monitoring network in Azure.
A dedicated VNET is created that will contain the cPacket and Corelight VMs. There is a management subnet that will contain cClear, and the capture subnet that contains the cVu and Corelight VM Scale Sets.
Security groups are created to allow management traffic between the VMs and the internet. The Azure Gateway Load Balancer is created to receive traffic from chained VMs or public load balancers in other VNETs.
Clone the repository and navigate to the cpacket-corelight directory.
git clone [email protected]:/terraform-azure.git
cd cpacket-corelightThe cpacket-corelight.auto.tfvars.example is a template for a .tfvars file.
Copy it and modify its values to suit your needs.
cp cpacket-corelight.auto.tfvars.example cpacket-corelight.auto.tfvarsThe version of the Azure provider is pinned to 2.46.0 to avoid any breaking changes.
terraform initFirst run plan to see what resources will be created.
terraform planThen run apply to create the resources.
terraform apply