Terraform Modules — AliCloud
This repository contains the OpenTofu (Terraform-compatible) modules used to provision and manage AliCloud infrastructure for Cogrion workspaces.
What It Does
This is the AliCloud counterpart to the AWS Terraform modules. It covers the same concern — provisioning the cloud infrastructure that backs a tenant workspace — but targets AliCloud instead of AWS. The managed resources include VPCs, ACK (Alibaba Cloud Container Service for Kubernetes) clusters, RAM roles (AliCloud's equivalent of AWS IAM), and database instances.
The platform's execution model is identical on both clouds: Temporal handles workspace-level cloud provisioning; the Cluster Agent handles in-cluster OpenTofu runs. Only the underlying cloud APIs and resource types differ.
Why a Separate Repository
The AWS and AliCloud module sets are kept in separate repositories because they have independent release cycles, different provider SDK dependencies, and different platform teams may own them. The platform-stacks catalog references each repo directly in its tofu-module resource configs, so either can be updated or versioned without affecting the other.
Implementation
Repo:
terraform-workspace-infra-alicloud
Go Deeper
- Core Platform → Temporal
- Core Platform → BYOC Model
- Terraform Modules — AWS