Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 26bbb2f1 authored by Nicolas's avatar Nicolas
Browse files

Delete CloudSQL

parent 9c080364
No related branches found
No related tags found
No related merge requests found
......@@ -217,38 +217,3 @@ resource "google_container_node_pool" "node_pool" {
}
}
}
### Create Cloud SQL
resource "google_sql_database_instance" "cloud_sql" {
provider = google
project = var.project_id
name = var.cloud_sql_name
region = var.region
database_version = "MYSQL_8_0"
deletion_protection = false
settings {
tier = "db-custom-2-3840" # 2vCPU - 3.75 Go
availability_type = "REGIONAL"
backup_configuration {
enabled = true
binary_log_enabled = true
location = "eu"
}
ip_configuration {
ipv4_enabled = false
private_network = google_compute_network.vpc_network.id
}
location_preference {
zone = "europe-west1-b"
}
maintenance_window {
day = 1
hour = 0
}
}
}
......@@ -51,9 +51,3 @@ variable "node_pool_name" {
type = string
default = "gke-preemptible-nodes"
}
### Cloud SQL
variable "cloud_sql_name" {
type = string
default = "cloudsql-gke"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment