Terraform for Corelight's Azure Cloud Sensor Deployment.
module "sensor" {
source = "github.com/corelight/terraform-azure-sensor"
license_key = "<your Corelight sensor license key>"
location = "<Azure location to deploy resources in>"
resource_group_name = "<resource group to deploy in>"
corelight_sensor_image_id = "<image resource id from Corelight>"
community_string = "<the community string (api string) often times referenced by Fleet>"
sensor_ssh_public_key = "<path to ssh public key>"
management_subnet_id = "<full management NIC subnet resource ID>"
monitoring_subnet_id = "<full management NIC subnet resource ID>"
tags = {
foo: bar,
terraform: true,
purpose: Corelight
}
# Optional - Fleet Manager
fleet_token = "<the pairing token from the Fleet UI>"
fleet_url = "<the URL of the fleet instance from the Fleet UI>"
# (Optional) Cloud Enrichment Variables
enrichment_storage_account_name = "<name of the enrichment storage account>"
enrichment_storage_container_name = "<name of the enrichment container in the storage account>"
}
The variables for this module all have default values that can be overwritten to meet your naming and compliance standards.
Deployment examples can be found here.
The project is licensed under the MIT license.