Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting kubeconfig ? #2

Open
rajesh-chawla opened this issue Sep 12, 2019 · 3 comments
Open

Getting kubeconfig ? #2

rajesh-chawla opened this issue Sep 12, 2019 · 3 comments

Comments

@rajesh-chawla
Copy link

I've been able to successfully invoke this module and now I'd like to download the kubeconfig file from the k8s cluster created.

I don't see any items as output from the module, so I'm looking for suggestions on how to get access to the kubeconfig file for the k8s cluster after calling the module.

Regards,
Rajesh

@eugen-ananin
Copy link

In your output file you can use this:

output "kube_config" {
  value = azurerm_kubernetes_cluster.test.kube_config_raw
}

@manoatsas
Copy link

@manoatsas
Copy link

I created a pull request that should address this issue - #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants