diff --git a/database.tf b/database.tf index eeb97bb..0fa8e69 100644 --- a/database.tf +++ b/database.tf @@ -6,7 +6,7 @@ resource "digitalocean_database_user" "dbuser" { resource "digitalocean_database_cluster" "k3s" { name = "k3s-ext-datastore" engine = var.database_engine == "postgres" ? "pg" : "mysql" - version = var.database_engine == "postgres" ? "11" : "8" + version = var.database_engine == "postgres" ? "13" : "8" size = var.database_size region = var.region private_network_uuid = digitalocean_vpc.k3s_vpc.id @@ -18,4 +18,4 @@ resource "digitalocean_project_resources" "k3s_ext_datastore" { resources = [ digitalocean_database_cluster.k3s.urn ] -} \ No newline at end of file +}