Module config

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-cloudflare repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-cloudflare repo.



let accountId

let accountId: string | undefined =  __config.get("accountId") || utilities.getEnv("CLOUDFLARE_ACCOUNT_ID");

Configure API client to always use that account.

let apiClientLogging

let apiClientLogging: boolean | undefined =  __config.getObject<boolean>("apiClientLogging") || (utilities.getEnvBoolean("CLOUDFLARE_API_CLIENT_LOGGING") || false);

Whether to print logs from the API client (using the default log library logger)

let apiKey

let apiKey: string | undefined =  __config.get("apiKey") || utilities.getEnv("CLOUDFLARE_API_KEY");

The API key for operations.

let apiToken

let apiToken: string | undefined =  __config.get("apiToken") || utilities.getEnv("CLOUDFLARE_API_TOKEN");

The API Token for operations.

let apiUserServiceKey

let apiUserServiceKey: string | undefined =  __config.get("apiUserServiceKey") || utilities.getEnv("CLOUDFLARE_API_USER_SERVICE_KEY");

A special Cloudflare API key good for a restricted set of endpoints.

let email

let email: string | undefined =  __config.get("email") || utilities.getEnv("CLOUDFLARE_EMAIL");

A registered Cloudflare email address.

let maxBackoff

let maxBackoff: number | undefined =  __config.getObject<number>("maxBackoff") || (utilities.getEnvNumber("CLOUDFLARE_MAX_BACKOFF") || 30);

Maximum backoff period in seconds after failed API calls

let minBackoff

let minBackoff: number | undefined =  __config.getObject<number>("minBackoff") || (utilities.getEnvNumber("CLOUDFLARE_MIN_BACKOFF") || 1);

Minimum backoff period in seconds after failed API calls

let retries

let retries: number | undefined =  __config.getObject<number>("retries") || (utilities.getEnvNumber("CLOUDFLARE_RETRIES") || 3);

Maximum number of retries to perform when an API request fails

let rps

let rps: number | undefined =  __config.getObject<number>("rps") || (utilities.getEnvNumber("CLOUDFLARE_RPS") || 4);

RPS limit to apply when making calls to the API