From df5dbcd5d72a463c9d937060e7f52e5d72425a7e Mon Sep 17 00:00:00 2001 From: kfc-manager Date: Thu, 4 Apr 2024 19:06:29 +0200 Subject: [PATCH] fix: renamed variable which used reserved namespace --- main.tf | 2 +- variables.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index ba0c2c3..488b8e7 100644 --- a/main.tf +++ b/main.tf @@ -120,7 +120,7 @@ resource "aws_iam_role_policy_attachment" "xray" { resource "aws_eks_cluster" "main" { name = var.identifier - version = var.version + version = var.kubernetes_version role_arn = aws_iam_role.master.arn enabled_cluster_log_types = ["api", "audit", "authenticator", "controllerManager", "scheduler"] diff --git a/variables.tf b/variables.tf index f2bffae..a68f1e4 100644 --- a/variables.tf +++ b/variables.tf @@ -7,7 +7,7 @@ variable "identifier" { } } -variable "version" { +variable "kubernetes_version" { description = "The Kubernetes version the cluster runs on." type = string default = "1.29"