equinor / terraform-baseline

Best practices for creating reusable Terraform modules using the Azure provider
https://equinor.github.io/terraform-baseline/
MIT License
12 stars 5 forks source link

Migrate to Azure Database for PostgreSQL flexible server #188

Open hknutsen opened 1 month ago

hknutsen commented 1 month ago

Module Name

postgres

Description

Azure Database for PostgreSQL single server will be retired on 28 March 2025. We'll need to migrate to Azure Database for PostgreSQL flexible server by that date (ref).

See our Azure Database for MySQL module which has a similar implementation.

Example Terraform Configuration

resource "azurerm_postgresql_flexible_server" "this" {
  name                = var.server_name
  location            = var.location
  resource_group_name = var.resource_group_name

  # omitted
}