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 ddcf085 commit 4f31923
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions deploy/aliyun/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ module "tidb-cluster" {
cluster_name = var.tidb_cluster_name
ack = module.tidb-operator

tidb_version = var.tidb_version
tidb_cluster_chart_version = var.tidb_cluster_chart_version
pd_instance_type = var.pd_instance_type
pd_count = var.pd_count
tikv_instance_type = var.tikv_instance_type
tikv_count = var.tikv_count
tidb_instance_type = var.tidb_instance_type
tidb_count = var.tidb_count
monitor_instance_type = var.monitor_instance_type
create_tidb_cluster = var.create_tidb_cluster
tidb_version = var.tidb_version
tidb_cluster_chart_version = var.tidb_cluster_chart_version
pd_instance_type = var.pd_instance_type
pd_count = var.pd_count
tikv_instance_type = var.tikv_instance_type
tikv_count = var.tikv_count
tidb_instance_type = var.tidb_instance_type
tidb_count = var.tidb_count
monitor_instance_type = var.monitor_instance_type
create_tidb_cluster_release = var.create_tidb_cluster_release
}
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_tidb_cluster" {
variable "create_tidb_cluster_release" {
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_tidb_cluster
create = var.create_tidb_cluster_release
}
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_tidb_cluster" {
variable "create_tidb_cluster_release" {
description = "whether creating tidb-cluster helm release"
default = false
}

0 comments on commit 4f31923

Please sign in to comment.