Twilio's Global Infrastructure enables you to ensure that your application’s Twilio data remains within the corresponding territory at all times, and that your commands execute with the shortest possible round trips to Twilio's servers. Twilio Regions are supported by the CLI as well, so you can continue to use the CLI without worrying about data residency.
You can specify the target Region for a profile using the
--region flag. For example:
twilio login --region au1
Alternatively, you can specify the target Region by setting it as an environment variable. This will take precedence over the
region setting of the active profile:
In addition to Regions, you can control which geographic location your network request enters and exits Twilio's platform by defining an Edge Location. The Edge Location used by the CLI can be controlled either by setting it as a configuration, or with an environment variable.
The Edge Location used by the CLI can be controlled by setting it as a configuration:
twilio config:set --edge=sydney
Alternatively, you can specify the target Edge Location by setting it as an environment variable. This will take precedence over any value set with