Return the configured primary region. Reads and requires an ENV setting for
PRIMARY_REGION
.
Fly (Fly RPC v0.1.2) View Source
Functions and features to help Elixir applications more easily take advantage of the features that Fly.io provides.
Link to this section Summary
Functions
Return if the app instance is running in the primary region or not. Boolean result.
Return the configured current region. Reads the FLY_REGION
ENV setting
that's available when deployed on the Fly.io platform.
Return the configured primary region. Reads and requires an ENV setting for
PRIMARY_REGION
.
Link to this section Functions
Specs
Return if the app instance is running in the primary region or not. Boolean result.
Return the configured current region. Reads the FLY_REGION
ENV setting
that's available when deployed on the Fly.io platform.