Skip to content

Commit

Permalink
Updating variable name for cluster_creator_admin_permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
William authored and William committed Nov 21, 2024
1 parent 8512b6d commit c615b70
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions aws/cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ module "network" {
module "eks_cluster" {
source = "./modules/eks-cluster"

enabled_cluster_log_types = var.enabled_cluster_log_types
k8s_version = var.k8s_version
log_retention_in_days = var.log_retention_in_days
name = module.cluster_name.full
private_subnet_ids = module.network.private_subnet_ids
public_subnet_ids = module.network.public_subnet_ids
tags = var.tags
vpc = module.network.vpc
auth_mode = var.auth_mode
enable_cluster_creator_admin_permission = var.enable_cluster_creator_admin_permission
enabled_cluster_log_types = var.enabled_cluster_log_types
k8s_version = var.k8s_version
log_retention_in_days = var.log_retention_in_days
name = module.cluster_name.full
private_subnet_ids = module.network.private_subnet_ids
public_subnet_ids = module.network.public_subnet_ids
tags = var.tags
vpc = module.network.vpc
auth_mode = var.auth_mode
bootstrap_cluster_creator_admin_permission = var.bootstrap_cluster_creator_admin_permission

depends_on = [module.node_role]
}
Expand Down
2 changes: 1 addition & 1 deletion aws/cluster/modules/eks-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ resource "aws_eks_cluster" "this" {

access_config {
authentication_mode = var.auth_mode
bootstrap_cluster_creator_admin_permissions = var.enable_cluster_creator_admin_permission
bootstrap_cluster_creator_admin_permissions = var.bootstrap_cluster_creator_admin_permission
}

vpc_config {
Expand Down
2 changes: 1 addition & 1 deletion aws/cluster/modules/eks-cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ variable "auth_mode" {
default = "API_AND_CONFIG_MAP"
}

variable "enable_cluster_creator_admin_permission" {
variable "bootstrap_cluster_creator_admin_permission" {
type = bool
description = "Bootstrap access config values to the cluster"
default = false
Expand Down
2 changes: 1 addition & 1 deletion aws/cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ variable "auth_mode" {
default = "API_AND_CONFIG_MAP"
}

variable "enable_cluster_creator_admin_permission" {
variable "bootstrap_cluster_creator_admin_permission" {
type = bool
description = "Bootstrap access config values to the cluster"
default = false
Expand Down

0 comments on commit c615b70

Please sign in to comment.