CF-Incidents CASB - Create CASB integrations with Terraform

Cloudflare Service Informational Feeds

ENF News Bot

Automated News Bot
Joined
Apr 15, 2022
Messages
2,591
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:


Code:
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.

Continue reading...
 
Back
Top