Skip to content

Commit aa9e750

Browse files
authored
Merge pull request #418 from ovh/updkubeconfigoutput
feat: update the documentation example with the new simplest way to output a kubeconfig file
2 parents b3d5e2e + cb7e1d3 commit aa9e750

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

website/docs/r/cloud_project_kube.html.markdown

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ resource "ovh_cloud_project_kube" "mycluster" {
2727
region = "GRA7"
2828
}
2929
30-
resource "local_file" "kubeconfig" {
31-
content = ovh_cloud_project_kube.mycluster.kubeconfig
32-
filename = "mycluster.yml"
30+
output "kubeconfig_file" {
31+
value = ovh_cloud_project_kube.mycluster.kubeconfig
32+
sensitive = true
3333
}
3434
```
3535

0 commit comments

Comments
 (0)