get Zones
This data source provides availability zones for Gpdb that can be accessed by an Alibaba Cloud account within the region configured in the provider.
NOTE: Available in v1.73.0+.
Example Usage
resources:
# Create an Gpdb instance with the first matched zone
hbase:
type: alicloud:hbase:Instance
properties:
availabilityZone: ${zonesIds.zones[0].id}
variables:
# Declare the data source
zonesIds:
fn::invoke:
function: alicloud:gpdb:getZones
arguments: {}Content copied to clipboard
Return
A collection of values returned by getZones.
Parameters
argument
A collection of arguments for invoking getZones.
Return
A collection of values returned by getZones.
Parameters
multi
Indicate whether the zones can be used in a multi AZ configuration. Default to false. Multi AZ is usually used to launch Gpdb instances.
output File
File name where to save data source results (after running pulumi preview).
See also
Return
A collection of values returned by getZones.
Parameters
argument
Builder for com.pulumi.alicloud.gpdb.kotlin.inputs.GetZonesPlainArgs.