Skip to main content

cloudflare-hcl

A minimal Cloudflare Pulumi HCL program

Get started

Create a new project from this template with the Pulumi CLI:
Terminal window
mkdir my-project && cd my-project
pulumi new cloudflare-hcl

Configuration

The template prompts for these values during pulumi new.
KeyDescriptionDefault
account_idThe Cloudflare account ID to deploy into—
You can change these values later with pulumi config set:
Terminal window
pulumi config set account_id <value>

Deploying the project

Once the new project is created and configured, you can deploy it with pulumi up:
Terminal window
pulumi up

Related

The infrastructure as code platform for any cloud.