This Terraform configuration will create a VPC with 3 subnets as shown below.
When using Terraform cloud, set the below environment variables under the workspace:
ALICLOUD_REGION
ALICLOUD_ACCESS_KEY
ALICLOUD_SECRET_KEY
For Singapore, the region is ap-southeast-1
Alibaba Cloud Regions and Zones
Instruction on how to create the Access Key and Secret Key on Alibaba Cloud refer article
Alibaba Cloud Terraform Provider Documentation
Examples on GitHub