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

feat: add kube node pool and ip restrictions import in doc #311

Merged
merged 1 commit into from
Sep 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions website/docs/r/cloud_project_kube.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ The following attributes are exported:

## Import

OVHcloud Managed Kubernetes Service clusters can be imported using the `serviceName` and the `id` of the cluster, separated by "/" E.g.,
OVHcloud Managed Kubernetes Service clusters can be imported using the `service_name` and the `id` of the cluster, separated by "/" E.g.,

```bash
$ terraform import ovh_cloud_project_kube.my_kube_cluster a6678gggjh76hggjh7f59/a123bc45-a1b2-34c5-678d-678ghg7676ebc
$ terraform import ovh_cloud_project_kube.my_kube_cluster service_name/kube_id
```
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ No additional attributes than the ones provided are exported.

## Import

OVHcloud Managed Kubernetes Service cluster IP restrictions can be imported using the `id` of the IP restrictions (which is the same ID as the kubernetes which it depends on),
OVHcloud Managed Kubernetes Service cluster IP restrictions can be imported using the `service_name` and the `id` of the cluster, separated by "/" E.g.,

```bash
$ terraform import ovh_cloud_project_kube_iprestrictions.iprestrictions xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
$ terraform import ovh_cloud_project_kube_iprestrictions.iprestrictions service_name/kube_id
```
8 changes: 8 additions & 0 deletions website/docs/r/cloud_project_kube_nodepool.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,11 @@ In addition, the following attributes are exported:
* `status` - Current status
* `up_to_date_nodes` - Number of nodes with latest version installed in the pool
* `updated_at` - Last update date

## Import

OVHcloud Managed Kubernetes Service cluster node pool can be imported using the `service_name`, the `id` of the cluster, and the `id` of the nodepool separated by "/" E.g.,

```bash
$ terraform import ovh_cloud_project_kube.my_kube_cluster service_name/kube_id/poolid
```