-
Notifications
You must be signed in to change notification settings - Fork 135
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
Make kubeconfig attributes available as resource output #378
Conversation
if tf state has no kubeconfig kubeconfig_attributes then reload kubeconfig
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add output in examples for kubeconfig_attributes.host
attribute for resource and datasource.
And do we really need an array for this?
output "mycluster-host" {
value = ovh_cloud_project_kube.mycluster.kubeconfig_attributes[0].host
}
output "mycluster-client_certificate" {
value = ovh_cloud_project_kube.mycluster.kubeconfig_attributes[0].client_certificate
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks :)
Thanks a lot @SkYNewZ! |
Fix #325