mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-21 08:59:02 +01:00
feat: Rename config_output_path into kubeconfig_output_path for naming consistency (#1399)
BREAKING CHANGES: The variable `config_output_path` is renamed into `kubeconfig_output_path` for naming consistency. Please upgrade your configuration accordingly. NOTES: The kubeconfig file permission is not world and group readable anymore. The default permission is now `600`. This value can be changed with the variable `var.kubeconfig_file_permission`.
This commit is contained in:
committed by
GitHub
parent
4a9fc3af11
commit
8765362093
@@ -32,20 +32,20 @@ variable "cluster_version" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "config_output_path" {
|
||||
variable "kubeconfig_output_path" {
|
||||
description = "Where to save the Kubectl config file (if `write_kubeconfig = true`). Assumed to be a directory if the value ends with a forward slash `/`."
|
||||
type = string
|
||||
default = "./"
|
||||
}
|
||||
|
||||
variable "kubeconfig_file_permission" {
|
||||
description = "File permission of the Kubectl config file containing cluster configuration saved to `config_output_path.`"
|
||||
description = "File permission of the Kubectl config file containing cluster configuration saved to `kubeconfig_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`."
|
||||
description = "Whether to write a Kubectl config file containing the cluster configuration. Saved to `kubeconfig_output_path`."
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user