Skip to main content

cloudflare

The connectivity cloud - DNS, CDN, Zero Trust, Workers, and more.

Provider Summary

total services: 108
total resources: 1375

See also: [SHOW] [DESCRIBE] [REGISTRY]


Installation

To pull the latest version of the cloudflare provider, run the following command:

REGISTRY PULL cloudflare;

To view previous provider versions or to pull a specific provider version, see here.

Authentication

The following system environment variable is used for authentication by default:

This variable is sourced at runtime (from the local machine or as a CI variable/secret).

Using a different environment variable

To use a different environment variable (instead of the default), use the --auth flag of the stackql program. For example:


AUTH='{ "cloudflare": { "type": "bearer", "credentialsenvvar": "YOUR_CLOUDFLARE_TOKEN_VAR" }}'
stackql shell --auth="${AUTH}"

or using PowerShell:


$Auth = "{ 'cloudflare': { 'type': 'bearer', 'credentialsenvvar': 'YOUR_CLOUDFLARE_TOKEN_VAR' }}"
stackql.exe shell --auth=$Auth

Services