Back to Remotion

getRegions()

packages/docs/docs/cloudrun/getregions.mdx

4.0.478826 B
Original Source
<ExperimentalBadge> <p> Cloud Run is in <a href="/docs/cloudrun/status">Alpha status and not actively being developed.</a> </p> </ExperimentalBadge>

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

Example

tsx
import {getRegions} from '@remotion/cloudrun/client';

// ---cut---

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