Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
DTSRD-2845: Resize PG flexible server instance (#877)
Browse files Browse the repository at this point in the history
* Fix flyway schema issues on ithc

* DTSRD-2845: Resize PG flexible server instance
  • Loading branch information
kiran-yenigala-hmcts authored Jun 17, 2024
1 parent c85cce5 commit cbd1b0a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions infrastructure/demo.tfvars
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pgsql_sku = "GP_Standard_D2s_v3"
1 change: 1 addition & 0 deletions infrastructure/ithc.tfvars
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pgsql_sku = "GP_Standard_D2s_v3"
1 change: 1 addition & 0 deletions infrastructure/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ module "db-profile-sync-ref-data-v16" {

subnet_suffix = "expanded"
pgsql_version = "16"
pgsql_sku = var.pgsql_sku
product = "rd"
name = join("-", [var.product-v16, var.component-v16])

Expand Down
5 changes: 5 additions & 0 deletions infrastructure/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,9 @@ variable "pgsql_server_configuration" {
value = "OFF"
}
]
}

variable "pgsql_sku" {
description = "The PGSql flexible server instance sku"
default = "GP_Standard_D4s_v3"
}

0 comments on commit cbd1b0a

Please sign in to comment.