diff --git a/deploy/aws/aws-tutorial.tfvars b/deploy/aws/aws-tutorial.tfvars index 6f71319587..3eb6e07791 100644 --- a/deploy/aws/aws-tutorial.tfvars +++ b/deploy/aws/aws-tutorial.tfvars @@ -1,5 +1,5 @@ default_cluster_pd_instance_type = "c5d.large" -default_cluster_pd_tikv_instance_type = "c5d.large" +default_cluster_tikv_instance_type = "c5d.large" default_cluster_tidb_instance_type = "c4.large" default_cluster_monitor_instance_type = "c5.large" @@ -7,4 +7,4 @@ default_cluster_pd_count = 1 default_cluster_tikv_count = 1 default_cluster_tidb_count = 1 -default_cluster_cluster_name = "aws-tutorial" +default_cluster_name = "aws-tutorial" diff --git a/deploy/aws/versions.tf b/deploy/aws/versions.tf index ac97c6ac8e..0de2a7b7a1 100644 --- a/deploy/aws/versions.tf +++ b/deploy/aws/versions.tf @@ -1,4 +1,13 @@ terraform { required_version = ">= 0.12" + required_providers { + aws = "~> 2.27" + external = "~> 1.2" + helm = "~> 0.10" + local = "~> 1.3" + null = "~> 2.1" + template = "~> 2.1" + tls = "~> 2.1" + } } diff --git a/deploy/modules/aws/tidb-operator/main.tf b/deploy/modules/aws/tidb-operator/main.tf index 26ae6e54b5..843f3ffe4a 100644 --- a/deploy/modules/aws/tidb-operator/main.tf +++ b/deploy/modules/aws/tidb-operator/main.tf @@ -1,6 +1,7 @@ module "eks" { source = "terraform-aws-modules/eks/aws" + version = "5.1.0" cluster_name = var.eks_name cluster_version = var.eks_version vpc_id = var.vpc_id