From 2b4608e2c23fb0a509ee0d4b696fe8502bafe9ef Mon Sep 17 00:00:00 2001 From: mikebrownccd <104495891+mikebrownccd@users.noreply.github.com> Date: Tue, 14 May 2024 20:18:08 +0100 Subject: [PATCH] DTSAM-303 Resize PG Default - pgsql_sku added and defaulted to GP_Standard_D2s_v3 (#1908) --- infrastructure/main.tf | 1 + infrastructure/variables.tf | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/infrastructure/main.tf b/infrastructure/main.tf index 10a16b876..6eb33d221 100644 --- a/infrastructure/main.tf +++ b/infrastructure/main.tf @@ -107,6 +107,7 @@ module "org-role-mapping-database-v15" { component = var.component common_tags = var.common_tags pgsql_version = "15" + pgsql_sku = var.pgsql_sku # Setup Access Reader db user force_user_permissions_trigger = "5" diff --git a/infrastructure/variables.tf b/infrastructure/variables.tf index 982ab9118..35930a106 100644 --- a/infrastructure/variables.tf +++ b/infrastructure/variables.tf @@ -80,4 +80,9 @@ variable "kv_subscription" { default = "DCD-CNP-DEV" type = string description = "Update this with the name of the subscription where the single server key vault is. Defaults to DCD-CNP-DEV." +} + +variable "pgsql_sku" { + description = "The PGSql flexible server instance sku" + default = "GP_Standard_D2s_v3" } \ No newline at end of file