With Terraform infrastructure-as-a-code support, you can now programmatically perform all cluster management operations such as cluster create, PostgreSQL server parameter change, cluster node add, cluster node compute, and storage scaling based on your growing workload needs. In addition, you can perform these operations in a unified way for all Azure services supported by Terraform.
When you use the Terraform template-based configuration files you can define, provision, and configure your Azure Cosmos DB for PostgreSQL clusters in a repeatable and predictable manner. As a robust infrastructure-as-a-code solution, Terraform helps reduce human errors and the cost of spinning up production and development environments on demand.
Learn more about Terraform support for Azure Cosmos DB for PostgreSQL