Skip to content

Commit 6e98e10

Browse files
committed
Update defaults and increase timeout
1 parent 2351f70 commit 6e98e10

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

modules/database/main.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ resource "google_sql_database_instance" "materialize" {
44
region = var.region
55
project = var.project_id
66

7+
timeouts {
8+
create = "60m"
9+
update = "45m"
10+
delete = "45m"
11+
}
12+
713
settings {
814
tier = var.tier
915

variables.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ variable "gke_config" {
4040
node_locations = list(string)
4141
})
4242
default = {
43-
node_count = 3
43+
node_count = 1
4444
machine_type = "e2-standard-2"
45-
disk_size_gb = 100
45+
disk_size_gb = 50
4646
min_nodes = 1
47-
max_nodes = 5
47+
max_nodes = 2
4848
node_locations = []
4949
}
5050
}

0 commit comments

Comments
 (0)