mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-21 00:49:06 +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
@@ -1,7 +1,7 @@
|
||||
resource "local_file" "kubeconfig" {
|
||||
count = var.write_kubeconfig && var.create_eks ? 1 : 0
|
||||
content = local.kubeconfig
|
||||
filename = substr(var.config_output_path, -1, 1) == "/" ? "${var.config_output_path}kubeconfig_${var.cluster_name}" : var.config_output_path
|
||||
filename = substr(var.kubeconfig_output_path, -1, 1) == "/" ? "${var.kubeconfig_output_path}kubeconfig_${var.cluster_name}" : var.kubeconfig_output_path
|
||||
file_permission = var.kubeconfig_file_permission
|
||||
directory_permission = "0755"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user