configuredRegion
configuredRegion: JobcloudAllowedRegionSynchronous AWS region configured for the default AWS provider.
Remarks
The value is read from Pulumi's aws:region configuration, AWS_REGION, or AWS_DEFAULT_REGION, then validated against the organisation-enabled region catalogue. Use this value when the region determines resource cardinality or logical identity at preview time, including through buildAvailabilityZonesRecord(...). Importing this subpath throws synchronously when no region is configured or when the configured value is not in jobcloudAllowedRegions.
Type
Example
CODE
import { buildAvailabilityZonesRecord } from '@jobcloud/pulumi-helpers';
import { configuredRegion } from '@jobcloud/pulumi-helpers/runtime';
const availabilityZones = buildAvailabilityZonesRecord(configuredRegion, 3);