From 98a78ad99edd05dd5fe3023905f38c7447f1b61c Mon Sep 17 00:00:00 2001 From: Srini Nangunuri Date: Tue, 30 Apr 2024 16:51:37 -0400 Subject: [PATCH] Adding these variables to access from terragrunt and overright to have access from IEB cloud host --- main.tf | 2 ++ variables.tf | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/main.tf b/main.tf index 88fa3e5..437b6dc 100644 --- a/main.tf +++ b/main.tf @@ -55,6 +55,8 @@ module "cluster" { cluster_name = var.cluster_name cluster_version = var.cluster_version + cluster_endpoint_public_access = var.cluster_endpoint_public_access + enable_cluster_creator_admin_permissions = var.enable_cluster_creator_admin_permissions cluster_enabled_log_types = [ "audit", diff --git a/variables.tf b/variables.tf index b2e265b..aabef96 100644 --- a/variables.tf +++ b/variables.tf @@ -9,6 +9,18 @@ variable "cluster_version" { default = "1.27" } +variable "cluster_endpoint_public_access" { + description = "This allows to access the cluster from IEB cloud host" + type = bool + default = false +} + +variable "enable_cluster_creator_admin_permissions" { + description = "Indicates whether or not to add the cluster creator (the identity used by Terraform) as an administrator via access entry" + type = bool + default = false +} + variable "vpc_name" { description = "Define the VPC name that will be used by this cluster" type = string