Skip to main content

getRegions()

Gets an array of all supported GCP regions of this release of Remotion Cloud Run.

Example​


const regions = getRegions();
// ["asia-east1", "us-east1"]
note

Import from @remotion/cloudrun/client to not import the whole renderer, which cannot be bundled.

Return value​

An array of supported regions by this release of Remotion Cloud Run.

Compatibility​

ServersEnvironments
Node.js
Bun
Serverless Functions
Node.js runtime

For serverless functions, use the light client.

See also​