Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add variable to toggle standalone mysql SSL setting #1253

Merged
merged 1 commit into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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