CASB - Create CASB integrations with Terraform
- Announced
- Tags
- CASB
- Severity
- info, set by
reef/rss-rule-v1 - Source
- https://developers.cloudflare.com/changelog/post/2026-10-07-casb-terraform-integrations/
<p>You can now create Cloudflare CASB integrations using the <a href="https://developers.cloudflare.com/terraform/">Cloudflare Terraform provider</a>. This lets you manage supported integrations alongside your other infrastructure-as-code.</p> <p>The following example creates a Google Cloud Platform integration:</p> <figure class="nb-code-figure" data-nb-lang="tf"><pre class="astro-code astro-code-themes github-light github-dark nb-shiki-c6xiwz" tabindex="0" data-language="tf" data-nb-lang="tf"><code><span class="line"><span class="nb-shiki-1t8gfj">resource</span><span class="nb-shiki-dzsirb"> "cloudflare_zero_trust_casb_integration"</span><span class="nb-shiki-dzsirb"> "google_cloud_platform"</span><span class="nb-shiki-140thh"> {</span></span> <span class="line"><span class="nb-shiki-140thh"> account_id</span><span class="nb-shiki-1itgoe"> =</span><span class="nb-shiki-140thh"> var</span><span class="nb-shiki-1itgoe">.</span><span class="nb-shiki-140thh">cloudflare_account_id</span></span> <span class="line"><span class="nb-shiki-140thh"> name</span><span class="nb-shiki-1itgoe"> =</span><span class="nb-shiki-mdbnqw"> "Google Cloud Platform"</span></span> <span class="line"><span class="nb-shiki-140thh"> paused</span><span class="nb-shiki-1itgoe"> =</span><span class="nb-shiki-dzsirb"> false</span></span> <span class="line"></span> <span class="line"><span class="nb-shiki-140thh"> google_cloud_platform</span><span class="nb-shiki-1itgoe"> =</span><span class="nb-shiki-140thh"> {</span></span> <span class="line"><span class="nb-shiki-140thh"> google_cloud_platform_service_account </span><span class="nb-shiki-1itgoe">=</span><span class="nb-shiki-140thh"> {</span></span> <span class="line"><span class="nb-shiki-140thh"> service_account_key_json </span><span class="nb-shiki-1itgoe">=</span><span class="nb-shiki-dzsirb"> file</span><span class="nb-shiki-140thh">(</span><span class="nb-shiki-mdbnqw">"service-account-key.json"</span><span class="nb-shiki-140thh">)</span></span> <span class="line"><span class="nb-shiki-140thh"> }</span></span> <span class="line"><span class="nb-shiki-140thh"> }</span></span> <span class="line"><span class="nb-shiki-140thh">}</span></span></code></pre></figure> <p>The <code>cloudflare_zero_trust_casb_integration</code> resource requires provider version 5.27.0 or later. Version 4 of the provider and integrations that use OAuth are not supported.</p> <p>For setup instructions and integration guides, refer to <a href="https://developers.cloudflare.com/cloudflare-one/integrations/cloud-and-saas/">Cloud and SaaS integrations</a>.</p>
The text above is the source's. reef added the severity, the dates it could read from the text, and the endpoints and scopes named in code.