diff --git a/terraform/gcp/modules/sigstore/sigstore.tf b/terraform/gcp/modules/sigstore/sigstore.tf index 3d0b8cbc3..e51ef637b 100644 --- a/terraform/gcp/modules/sigstore/sigstore.tf +++ b/terraform/gcp/modules/sigstore/sigstore.tf @@ -174,6 +174,7 @@ module "mysql" { database_version = var.mysql_db_version tier = var.mysql_tier availability_type = var.mysql_availability_type + collation = var.mysql_collation replica_zones = var.mysql_replica_zones replica_tier = var.mysql_replica_tier @@ -373,6 +374,7 @@ module "ctlog_shards" { require_ssl = var.mysql_require_ssl backup_enabled = var.mysql_backup_enabled binary_log_backup_enabled = var.mysql_binary_log_backup_enabled + collation = var.mysql_collation depends_on = [ @@ -423,6 +425,7 @@ module "standalone_mysqls" { require_ssl = var.mysql_require_ssl backup_enabled = var.mysql_backup_enabled binary_log_backup_enabled = var.mysql_binary_log_backup_enabled + collation = var.mysql_collation depends_on = [ diff --git a/terraform/gcp/modules/sigstore/variables.tf b/terraform/gcp/modules/sigstore/variables.tf index 4a3170fa5..89bac1f23 100644 --- a/terraform/gcp/modules/sigstore/variables.tf +++ b/terraform/gcp/modules/sigstore/variables.tf @@ -239,6 +239,12 @@ variable "mysql_binary_log_backup_enabled" { default = true } +variable "mysql_collation" { + type = string + description = "collation setting for database" + default = "utf8_general_ci" +} + variable "fulcio_keyring_name" { type = string description = "Name of Fulcio keyring."