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

cloud_project_network_private and cloud_project_network_private_subnet #327

Merged
merged 5 commits into from
Oct 18, 2022
Merged
Show file tree
Hide file tree
Changes from 2 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
8 changes: 8 additions & 0 deletions website/docs/r/cloud_project_network_private.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,11 @@ The following attributes are exported:
* `regions_status/status` - (Deprecated) The status of the network in the region.
* `status` - the status of the network. should be normally set to 'ACTIVE'.
* `type` - the type of the network. Either 'private' or 'public'.

## Import

Private network in a public cloud project can be imported using the `project_id` and `network_id`, separated by "/" E.g.,

```bash
$ terraform import ovh_cloud_project_network_private.mynet ookie9mee8Shaeghaeleeju7Xeghohv6e/pn-12345678
```
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,11 @@ The following attributes are exported:
* `ip_pools/dhcp` - DHCP enabled.
* `ip_pools/end` - Last ip for this region.
* `ip_pools/start` - First ip for this region.

## Import

Subnet in a private network of a public cloud project can be imported using the `project_id` , `network_id` and `subnet_id`, separated by "/" E.g.,

```bash
$ terraform import ovh_cloud_project_network_private_subnet.mysubnet ookie9mee8Shaeghaeleeju7Xeghohv6e/pn-12345678/0f0b73a4-403b-45e4-86d0-b438f1291909
```
8 changes: 8 additions & 0 deletions website/docs/r/vrack_cloudproject.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,11 @@ The following attributes are exported:

* `service_name` - See Argument Reference above.
* `project_id` - See Argument Reference above.

## Import

Attachment of a public cloud project and a VRack can be imported using the `project_id`, `service_name` and `vrach_id`, separated by "/" E.g.,

```bash
$ terraform import ovh_vrack_cloudproject.myattach ookie9mee8Shaeghaeleeju7Xeghohv6e/pn-12345678/vrack_pn-12345678-cloudproject_ookie9mee8Shaeghaeleeju7Xeghohv6e-attach
```