Skip to main content

getRegions()

EXPERIMENTAL

Cloud Run is in Alpha, which means APIs may change in any version and documentation is not yet finished. See the changelog to stay up to date with breaking changes.

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

Example

tsx
const regions = getRegions();
// ["asia-east1", "us-east1"]
tsx
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.

See also