fix: add ip address when manage_aws_auth is true and public_access is false (#745)

This commit is contained in:
slimm609
2020-03-19 11:22:22 -04:00
committed by GitHub
parent 0c23191cd3
commit 9951c87a86
3 changed files with 19 additions and 0 deletions

View File

@@ -234,6 +234,12 @@ variable "iam_path" {
default = "/"
}
variable "cluster_endpoint_private_access_cidrs" {
description = "List of CIDR blocks which can access the Amazon EKS private API server endpoint, when public access is disabled"
type = list(string)
default = ["0.0.0.0/0"]
}
variable "cluster_endpoint_private_access" {
description = "Indicates whether or not the Amazon EKS private API server endpoint is enabled."
type = bool