Skip to content

Commit

Permalink
add variable to toggle standalone mysql SSL setting (#1253)
Browse files Browse the repository at this point in the history
Signed-off-by: Bob Callaway <bcallaway@google.com>
  • Loading branch information
bobcallaway authored Sep 5, 2024
1 parent c4afdd7 commit 3a1b16e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/gcp/modules/sigstore/sigstore.tf
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ module "standalone_mysqls" {
db_name = var.mysql_db_name

ipv4_enabled = var.mysql_ipv4_enabled
require_ssl = var.mysql_require_ssl
require_ssl = var.standalone_mysql_ssl
backup_enabled = var.mysql_backup_enabled
binary_log_backup_enabled = var.mysql_binary_log_backup_enabled
collation = var.mysql_collation
Expand Down
6 changes: 6 additions & 0 deletions terraform/gcp/modules/sigstore/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,12 @@ variable "standalone_mysql_tier" {
default = "db-n1-standard-4"
}

variable "standalone_mysql_ssl" {
type = bool
description = "force connections to the database to use SSL"
default = true
}

// Cluster node pool
variable "initial_node_count" {
type = number
Expand Down

0 comments on commit 3a1b16e

Please sign in to comment.