Skip to content

Commit c15fc7e

Browse files
committed
feat: add doc about import kube cluster
1 parent 4682c88 commit c15fc7e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: 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)