pontual Fix
This commit is contained in:
24
mysql-sei.tf
24
mysql-sei.tf
@@ -8,48 +8,38 @@ resource "oci_mysql_mysql_configuration" "sei_mysql_configuration" {
|
||||
name = "lower_case_table_names"
|
||||
value = "CASE_SENSITIVE"
|
||||
}
|
||||
|
||||
options {
|
||||
name = "character_set_server"
|
||||
value = "LATIN1"
|
||||
}
|
||||
|
||||
options {
|
||||
name = "collation_server"
|
||||
value = "LATIN1_SWEDISH_CI"
|
||||
}
|
||||
|
||||
options {
|
||||
name = "character_set_client"
|
||||
value = "LATIN1"
|
||||
}
|
||||
|
||||
options {
|
||||
name = "character_set_connection"
|
||||
value = "LATIN1"
|
||||
}
|
||||
|
||||
options {
|
||||
name = "character_set_results"
|
||||
value = "LATIN1"
|
||||
}
|
||||
|
||||
options {
|
||||
name = "collation_connection"
|
||||
value = "LATIN1_SWEDISH_CI"
|
||||
}
|
||||
|
||||
options {
|
||||
name = "init_connect"
|
||||
value = "SET NAMES latin1"
|
||||
}
|
||||
|
||||
options {
|
||||
name = "sql_require_primary_key"
|
||||
value = "OFF"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
resource "oci_mysql_mysql_db_system" "sei_mysql_dbsystem" {
|
||||
@@ -77,35 +67,33 @@ resource "oci_mysql_mysql_db_system" "sei_mysql_dbsystem" {
|
||||
shape_name = var.mysql_shape
|
||||
state = "ACTIVE"
|
||||
subnet_id = var.ocid_subnet_database
|
||||
|
||||
data_storage {
|
||||
is_auto_expand_storage_enabled = false
|
||||
}
|
||||
|
||||
deletion_policy {
|
||||
automatic_backup_retention = "RETAIN"
|
||||
final_backup = "REQUIRE_FINAL_BACKUP"
|
||||
is_delete_protected = true
|
||||
}
|
||||
|
||||
encrypt_data {
|
||||
key_generation_type = "SYSTEM"
|
||||
}
|
||||
|
||||
maintenance {
|
||||
window_start_time = "SUNDAY 00:00"
|
||||
window_start_time = "SATURDAY 00:00"
|
||||
}
|
||||
|
||||
read_endpoint {
|
||||
exclude_ips = []
|
||||
is_enabled = false
|
||||
}
|
||||
|
||||
secure_connections {
|
||||
certificate_generation_type = "SYSTEM"
|
||||
}
|
||||
|
||||
source {
|
||||
source_type = "NONE"
|
||||
}
|
||||
backup_policy {
|
||||
is_enabled = var.mysql_automatic_backup_enabled
|
||||
retention_in_days = var.mysql_backup_retention_in_days
|
||||
window_start_time = "01:00-00:00"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user