Using the terraform scripts under this folder can get the list of available zones for Alibaba Cloud Database products on regions globally.
- Set up terraform CLI environment on your desktop. For the tutorial about how to setup Terraform CLI, you can refer to https://partners-intl.aliyun.com/help/doc-detail/91289.htm
- Run alibabacloud-regions/main.tf ("terraform init", then "terraform apply") to get all regions on Alibaba Cloud globally
- For each product, specify the region in provider section of the terraform scirpt, then run (("terraform init", then "terraform apply")) to get current available zones on a specific region, such as rds/main.tf, the list of available zones will be output to the *.txt file under the same folder. Some products support user-specified multiple AZ deployment, then there will be *-Available-Multi-AZ.txt file for user-specified multiple AZ deployment options. Otherwise, if the product supports single-AZ deployment or automatically multi-AZ deployment, there will be only 1 *.txt file for zones available for user-specified single AZ deployment options.