Skip to main content

Terraform

The Threat Protection Terraform provider lets you manage your Threat Protection configuration as code.

Using Terraform, you can keep your configuration in version control, review changes before applying them, and manage Threat Protection alongside the rest of your infrastructure.

Getting started

Add the Threat Protection provider to your Terraform configuration:

terraform {
required_providers {
threat-protection = {
source = "baffinbay/threat-protection"
}
}
}

Initialize your Terraform working directory:

terraform init

You can then use the standard Terraform workflow to preview and apply your changes:

terraform plan
terraform apply

Provider documentation

For configuration options, available resources, data sources, and examples, see the Threat Protection provider documentation.