Skip to content

Commit bb3d26c

Browse files
authored
Merge pull request #442 from ooni/fix_dev_oonipg
fix oonipg deployment in dev
2 parents 106a35b + 68fb3e5 commit bb3d26c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

tf/environments/dev/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ module "oonipg" {
159159
# With 1GiB of ram you get ~112 connections:
160160
# 1074000000 / 9531392 = 112.68
161161
db_instance_class = "db.t4g.micro" # 2GiB => ~224 max_connections
162-
db_storage_type = "standard"
163-
db_allocated_storage = "5"
162+
db_storage_type = "gp3"
163+
db_allocated_storage = "20"
164164
db_max_allocated_storage = null
165165

166166
allow_cidr_blocks = [

tf/modules/postgresql/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ variable "db_allocated_storage" {
4040
}
4141

4242
variable "db_storage_type" {
43-
default = "standard"
43+
default = "gp3"
4444
}
4545

4646
variable "db_max_allocated_storage" {
4747
default = "100"
4848
}
4949

5050
variable "db_engine_version" {
51-
default = "16.8"
51+
default = "16.13"
5252
}
5353

5454
variable "db_parameter_group" {

0 commit comments

Comments
 (0)