diff --git a/terraform/gpu/main.tf b/terraform/gpu/main.tf index fbf993170..0df63b78b 100644 --- a/terraform/gpu/main.tf +++ b/terraform/gpu/main.tf @@ -2,7 +2,7 @@ // SPDX-License-Identifier: MIT module "common" { - source = "../common" + source = "../common" } module "basic_components" { @@ -123,8 +123,8 @@ resource "aws_eks_addon" "this" { depends_on = [ null_resource.kubectl ] - addon_name = var.addon_name - cluster_name = aws_eks_cluster.this.name + addon_name = var.addon_name + cluster_name = aws_eks_cluster.this.name addon_version = var.addon_version } diff --git a/terraform/gpu/variables.tf b/terraform/gpu/variables.tf index 2ef05a053..b89773575 100644 --- a/terraform/gpu/variables.tf +++ b/terraform/gpu/variables.tf @@ -17,7 +17,7 @@ variable "addon_name" { } variable "addon_version" { - type = string + type = string default = "latest" }