From 20300be5913929103c933394cc52ca17b51200f1 Mon Sep 17 00:00:00 2001 From: Aaron Gibson Date: Thu, 11 Jun 2026 11:38:39 +0200 Subject: [PATCH 1/3] fix InvalidParameterCombination: The storage type standard does not support iops. --- tf/environments/dev/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tf/environments/dev/main.tf b/tf/environments/dev/main.tf index 84de383f..73ce1e6b 100644 --- a/tf/environments/dev/main.tf +++ b/tf/environments/dev/main.tf @@ -159,7 +159,7 @@ module "oonipg" { # With 1GiB of ram you get ~112 connections: # 1074000000 / 9531392 = 112.68 db_instance_class = "db.t4g.micro" # 2GiB => ~224 max_connections - db_storage_type = "standard" + db_storage_type = "gp3" db_allocated_storage = "5" db_max_allocated_storage = null From 6c0bd7079edf706b4c1059e967426e317bd5972e Mon Sep 17 00:00:00 2001 From: Aaron Gibson Date: Thu, 11 Jun 2026 11:48:42 +0200 Subject: [PATCH 2/3] sync modules/postgresql to AWS supported version this was updgraded automatically; track the new version standard storage type doesn't seems supported in this configuration; use gp3 --- tf/modules/postgresql/variables.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tf/modules/postgresql/variables.tf b/tf/modules/postgresql/variables.tf index 7637d517..2bc52a3f 100644 --- a/tf/modules/postgresql/variables.tf +++ b/tf/modules/postgresql/variables.tf @@ -40,7 +40,7 @@ variable "db_allocated_storage" { } variable "db_storage_type" { - default = "standard" + default = "gp3" } variable "db_max_allocated_storage" { @@ -48,7 +48,7 @@ variable "db_max_allocated_storage" { } variable "db_engine_version" { - default = "16.8" + default = "16.13" } variable "db_parameter_group" { From 68fb3e5c8d376984029694d7d716f461eb4524fc Mon Sep 17 00:00:00 2001 From: Aaron Gibson Date: Thu, 11 Jun 2026 11:51:08 +0200 Subject: [PATCH 3/3] sync deployed value of db_allocated_storage with deployment this is 20gb as deployed --- tf/environments/dev/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tf/environments/dev/main.tf b/tf/environments/dev/main.tf index 73ce1e6b..5d1f9e64 100644 --- a/tf/environments/dev/main.tf +++ b/tf/environments/dev/main.tf @@ -160,7 +160,7 @@ module "oonipg" { # 1074000000 / 9531392 = 112.68 db_instance_class = "db.t4g.micro" # 2GiB => ~224 max_connections db_storage_type = "gp3" - db_allocated_storage = "5" + db_allocated_storage = "20" db_max_allocated_storage = null allow_cidr_blocks = [