Skip to content

Commit

Permalink
Merge pull request #2 from SCT-Engineering/update-variables
Browse files Browse the repository at this point in the history
Adding these variables to access from terragrunt and overright to hav…
  • Loading branch information
nangu001 committed Apr 30, 2024
2 parents ce76861 + 98a78ad commit 6badb47
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
12 changes: 12 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6badb47

Please sign in to comment.