Skip to content

Commit 896e532

Browse files
authored
Merge pull request #258 from ovh/doc-import-kubecluster
feat: add doc about import kube cluster
2 parents ff7032a + c15fc7e commit 896e532

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

website/docs/r/cloud_project_kube.html.markdown

+8
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,11 @@ The following attributes are exported:
5757
* `update_policy` - Cluster update policy. Choose between [ALWAYS_UPDATE,MINIMAL_DOWNTIME,NEVER_UPDATE]'.
5858
* `url` - Management URL of your cluster.
5959
* `kubeconfig` - The kubeconfig file. Use this file to connect to your kubernetes cluster.
60+
61+
## Import
62+
63+
OVHcloud Managed Kubernetes Service clusters can be imported using the `serviceName` and the `id` of the cluster, separated by "/" E.g.,
64+
65+
```
66+
$ terraform import ovh_cloud_project_kube.my_kube_cluster a6678gggjh76hggjh7f59/a123bc45-a1b2-34c5-678d-678ghg7676ebc
67+
```

0 commit comments

Comments
 (0)