Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion terraform/application/database.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ module "postgres" {
use_azure = var.deploy_azure_backing_services
azure_enable_monitoring = var.enable_monitoring
azure_enable_backup_storage = var.enable_postgres_backup_storage
server_version = "16"
server_version = var.postgres_server_version
}
5 changes: 5 additions & 0 deletions terraform/application/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ variable "enable_postgres_backup_storage" {
default = false
description = "Create a storage account to store database dumps"
}
variable "postgres_server_version" {
type = string
description = "Version of PostgreSQL to use for PostgreSQL flexible server"
default = "18"
}
variable "docker_image" {
type = string
description = "Docker image full name to identify it in the registry. Includes docker registry, repository and tag e.g.: ghcr.io/dfe-digital/teacher-pay-calculator:673f6309fd0c907014f44d6732496ecd92a2bcd0"
Expand Down
Loading