Skip to content

Commit

Permalink
DEV2-3830: fix condition. (#63)
Browse files Browse the repository at this point in the history
* DEV2-3830: fix condition.

* terraform-docs: automated action

* DEV2-3830: fix condition.

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
Simon Yakov and github-actions[bot] authored Sep 27, 2023
1 parent f8a13f9 commit fc1a4d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module "gke_cluster_tabnine" {
|------|-------------|------|---------|:--------:|
| <a name="input_create_tabnine_storage_bucket_im_bindings"></a> [create\_tabnine\_storage\_bucket\_im\_bindings](#input\_create\_tabnine\_storage\_bucket\_im\_bindings) | Create Tabnine storage bucket im bindings. Should be set to true only when run by Tabnine team | `bool` | `false` | no |
| <a name="input_db_master_zone"></a> [db\_master\_zone](#input\_db\_master\_zone) | Database master zone. If not set, will default to first zone | `string` | `null` | no |
| <a name="input_db_region"></a> [db\_region](#input\_db\_region) | GCP DB region | `string` | `null` | no |
| <a name="input_db_region"></a> [db\_region](#input\_db\_region) | GCP DB region | `string` | `""` | no |
| <a name="input_deny_all_egress"></a> [deny\_all\_egress](#input\_deny\_all\_egress) | Deny all egress traffic | `bool` | `true` | no |
| <a name="input_exclude_kubernetes_manifest"></a> [exclude\_kubernetes\_manifest](#input\_exclude\_kubernetes\_manifest) | Exclude kubernetes manifest installations. This should be off during initial installation | `bool` | `false` | no |
| <a name="input_gke_master_authorized_networks"></a> [gke\_master\_authorized\_networks](#input\_gke\_master\_authorized\_networks) | n/a | <pre>list(object({<br> cidr_block = string,<br> display_name = string<br> }))</pre> | n/a | yes |
Expand Down
2 changes: 1 addition & 1 deletion modules/cluster/sql_db.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
locals {
db_region = var.db_region ? var.db_region : var.region
db_region = var.db_region != "" ? var.db_region : var.region
}
module "sql_db" {
source = "GoogleCloudPlatform/sql-db/google//modules/postgresql"
Expand Down
2 changes: 1 addition & 1 deletion modules/cluster/vars.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ variable "db_master_zone" {
variable "db_region" {
description = "GCP DB region"
type = string
default = null
default = ""
}

variable "exclude_kubernetes_manifest" {
Expand Down

0 comments on commit fc1a4d7

Please sign in to comment.