Skip to content

Commit

Permalink
Enable paas postgres extensions
Browse files Browse the repository at this point in the history
We're not sure if they are used by the app or not but this caused errors
in the restore so we're enabling as well on Azure.
  • Loading branch information
saliceti committed Oct 10, 2023
1 parent bdd9b84 commit c63039a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/aks/database.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module "postgres" {
count = var.deploy_postgres ? 1 : 0
source = "./vendor/modules/aks//aks/postgres"

namespace = var.namespace
environment = var.environment
azure_resource_prefix = var.azure_resource_prefix
Expand All @@ -14,7 +14,7 @@ module "postgres" {
server_version = "14"
azure_sku_name = var.postgres_flexible_server_sku
azure_enable_backup_storage = var.azure_enable_backup_storage
azure_extensions = ["POSTGIS", "address_standardizer", "plpgsql"]
azure_extensions = ["POSTGIS", "address_standardizer", "plpgsql", "postgis_raster", "uuid-ossp", "citext"]
azure_enable_high_availability = var.postgres_enable_high_availability
azure_maintenance_window = var.azure_maintenance_window
}
Expand Down

0 comments on commit c63039a

Please sign in to comment.