Skip to content

Commit

Permalink
update variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielZhangQD committed Mar 23, 2020
1 parent 22574a0 commit ddcf085
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deploy/aliyun/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@ module "tidb-cluster" {
tidb_instance_type = var.tidb_instance_type
tidb_count = var.tidb_count
monitor_instance_type = var.monitor_instance_type
create = var.create
create_tidb_cluster = var.create_tidb_cluster
}
2 changes: 1 addition & 1 deletion deploy/aliyun/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ variable "vpc_cidr" {
default = "192.168.0.0/16"
}

variable "create" {
variable "create_tidb_cluster" {
description = "whether creating tidb-cluster helm release"
default = false
}
Expand Down
2 changes: 1 addition & 1 deletion deploy/modules/aliyun/tidb-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ module "tidb-cluster" {
base_values = file("${path.module}/values/default.yaml")
kubeconfig_filename = var.ack.kubeconfig_filename
service_ingress_key = "ip"
create = var.create
create = var.create_tidb_cluster
}
2 changes: 1 addition & 1 deletion deploy/modules/aliyun/tidb-cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ variable "local_exec_interpreter" {
default = ["/bin/sh", "-c"]
}

variable "create" {
variable "create_tidb_cluster" {
description = "whether creating tidb-cluster helm release"
default = false
}

0 comments on commit ddcf085

Please sign in to comment.