--- id: pulumi-cloudflare version: "6.19.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # pulumi-cloudflare — A Pulumi package for creating and managing Cloudflare cloud resources. License: permissive · Maintenance: active · Downloads: 278.1K/mo ## What it is and what it does This is a Pulumi resource provider that bridges Cloudflare's API into Pulumi's infrastructure-as-code framework. It lets you define Cloudflare resources—zones, DNS records, page rules, workers, and other services—as Python objects in a Pulumi program, then deploy and manage them declaratively. The package wraps Cloudflare's REST API and handles authentication via API token, API key, or user service key. You use it by installing the package, configuring Cloudflare credentials (typically via environment variables), and then importing its resource classes into your Pulumi Python code. It depends on pulumi as its primary runtime dependency, plus parver, semver, and typing-extensions for version handling and type hints. The package is actively maintained and supports current Python versions (3.9+). Use it for: - Define DNS records, zones, and routing policies for domains managed by Cloudflare as part of a larger infrastructure-as-code stack - Automate Cloudflare worker deployments and configurations alongside other cloud resources in a single Pulumi program - Manage Cloudflare firewall rules, page rules, and security settings declaratively and version-control them in Git - Provision and tear down Cloudflare resources programmatically as part of ephemeral test or staging environments - Integrate Cloudflare resource management into CI/CD pipelines using Pulumi's automation API ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Pulumi provider for Cloudflare that lets you define and manage Cloudflare resources programmatically in Python infrastructure-as-code projects. Yes. This package is actively maintained (release 8 days ago), has low install friction, no known vulnerabilities, and a permissive Apache-2.0 license. It is the standard way to manage Cloudflare resources from Python Pulumi programs. Install it if you are using Pulumi and need to provision or manage Cloudflare infrastructure. ## Install pip install pulumi-cloudflare uv add pulumi-cloudflare poetry add pulumi-cloudflare ## Installing pulumi-cloudflare Before you install: Low install friction with a wheel distribution. Active maintenance—last release 8 days ago, repository not archived, recent commits. Requires pulumi, parver, semver, and typing-extensions as runtime dependencies. License in practice: Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you may use this in proprietary projects. Quickstart: pip install pulumi_cloudflare import pulumi import pulumi_cloudflare as cf # Configure with API token config = pulumi.Config() api_token = config.require_secret('cloudflare:apiToken') # Create a Cloudflare resource zone = cf.Zone('my-zone', account_id='...', name='example.com') Pulumi CLI must be installed first; requires Python >=3.9; Cloudflare API credentials (token or key) must be configured via environment variables or Pulumi config. Verify before relying: - Exact count and scope of Cloudflare resources supported by this provider version - Whether all Cloudflare API endpoints are covered or if some require direct API calls - Compatibility with specific Pulumi CLI versions beyond the runtime dependency on pulumi package ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 278.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags pulumi cloudflare provider, infrastructure as code cloudflare, cloudflare resource management python, pulumi dns cdn management, cloudflare automation python, pulumi cloud provider, declarative cloudflare configuration, infrastructure-as-code, cloudflare, pulumi-provider [View on SkillFed](https://skillfed.io/packages/pulumi-cloudflare) · [View on PyPI](https://pypi.org/project/pulumi-cloudflare/)