mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-17 23:13:46 +01:00
feat: Kubeconfig file should not be world or group readable by default (#1114)
Co-authored-by: Thierno IB. BARRY <ibrahima.br@gmail.com>
This commit is contained in:
@@ -38,6 +38,12 @@ variable "config_output_path" {
|
||||
default = "./"
|
||||
}
|
||||
|
||||
variable "kubeconfig_file_permission" {
|
||||
description = "File permission of the Kubectl config file containing cluster configuration saved to `config_output_path.`"
|
||||
type = string
|
||||
default = "0600"
|
||||
}
|
||||
|
||||
variable "write_kubeconfig" {
|
||||
description = "Whether to write a Kubectl config file containing the cluster configuration. Saved to `config_output_path`."
|
||||
type = bool
|
||||
|
||||
Reference in New Issue
Block a user