The suggestion for this PR is to allow the user to control the path of kubeconfig.
"Kubeconfig_path" is defined as an optional parameter
By default, "kubeconfig" is generated in the tmp area.
Also, if i want to inherit "kubeconfig" in another environment, i set the parameter "kubeconfig_path". (Example: CI)
default setting 'kubeconfig_path is null'
terraform.tf
resource "eksctl_cluster" "blue" {
eksctl_bin = "eksctl"
name = "sandbox-tmnakagawa-1"
region = "ap-northeast-1"
api_version = "eksctl.io/v1alpha5"
version = "1.14"
vpc_id = data.terraform_remote_state.vpc.outputs.vpc_id
revision = 1
spec = <<EOS
-snip-
Hi, Thank you always!
The suggestion for this PR is to allow the user to control the path of kubeconfig.
"Kubeconfig_path" is defined as an optional parameter By default, "kubeconfig" is generated in the tmp area. Also, if i want to inherit "kubeconfig" in another environment, i set the parameter "kubeconfig_path". (Example: CI)
default setting 'kubeconfig_path is null'
terraform.tf
terraform output
add setting "kubeconfig_path"
terraform.tf
terraform output