Edit

Share via


Terraform support for Azure Cosmos DB for PostgreSQL

Important

Azure Cosmos DB for PostgreSQL is no longer supported for new projects. Don't use this service for new projects. Instead, use one of these two services:

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