October 7, 2026 · Cloudflare
CASB - Create CASB integrations with Terraform
You can now create Cloudflare CASB integrations using the Cloudflare Terraform provider. This lets you manage supported integrations alongside your other infrastructure-as-code.
The following example creates a Google Cloud Platform integration:
resource "cloudflare_zero_trust_casb_integration" "google_cloud_platform" {
account_id = var.cloudflare_account_id
name = "Google Cloud Platform"
paused = false
google_cloud_platform = {
google_cloud_platform_service_account = {
service_account_key_json = file("service-account-key.json")
}
}
}
The cloudflare_zero_trust_casb_integration resource requires provider version 5.27.0 or later. Version 4 of the provider and integrations that use OAuth are not supported.
For setup instructions and integration guides, refer to Cloud and SaaS integrations.