Terraform support for Azure Cosmos DB for PostgreSQL

APPLIES TO: Azure Cosmos DB for PostgreSQL (powered by the Citus database extension to PostgreSQL)

Terraform enables the definition, preview, and deployment of cloud infrastructure. Using Terraform, you create configuration files using HCL syntax. The HCL syntax allows you to specify the cloud provider - such as Azure - and the elements that make up your cloud infrastructure. After you create your configuration files, you create an execution plan that allows you to preview your infrastructure changes before they're deployed. Once you verify the changes, you apply the execution plan to deploy the infrastructure.

Managing Azure Cosmos DB for PostgreSQL using Terraform

Terraform supports all management operations for Azure Cosmos DB for PostgreSQL clusters such as cluster create or update and adding worker nodes to cluster. Specifically, Terraform supports all management operations implemented in the REST APIs.

Terraform provides documentation for all supported Azure Cosmos DB for PostgreSQL management operations.

Next steps