Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Azure Cosmos DB for PostgreSQL is on a retirement path and no longer recommended for new projects. Instead, use one of these two services:
For PostgreSQL workloads: use the Elastic Clusters feature of Azure Database For PostgreSQL to use the horizontal scale-out and distributed PostgreSQL features contained within the open source Citus extension. For migration guidance, see migrate to Azure Database for PostgreSQL with Elastic Cluster.
For NoSQL workloads, use Azure Cosmos DB for NoSQL for a distributed database solution that includes a 99.999% availability service level agreement (SLA), instant autoscale, and automatic failover across multiple regions.
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.
- Cluster and node operations
- Native PostgreSQL user role management
- Networking settings