Skip to content

fix: Add missing configurations in ovh_ip_service doc #828

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

Merged
merged 1 commit into from
Feb 5, 2025
Merged
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
30 changes: 20 additions & 10 deletions website/docs/r/ip_service.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,26 @@ resource "ovh_ip_service" "ipblock" {
ovh_subsidiary = data.ovh_order_cart.mycart.ovh_subsidiary
description = "my ip block"

plan {
duration = data.ovh_order_cart_product_plan.ipblock.selected_price.0.duration
plan_code = data.ovh_order_cart_product_plan.ipblock.plan_code
pricing_mode = data.ovh_order_cart_product_plan.ipblock.selected_price.0.pricing_mode

configuration {
label = "country"
value = "FR"
plan {
duration = data.ovh_order_cart_product_plan.ipblock.selected_price.0.duration
plan_code = data.ovh_order_cart_product_plan.ipblock.plan_code
pricing_mode = data.ovh_order_cart_product_plan.ipblock.selected_price.0.pricing_mode

configuration {
label = "country"
value = "FR"
}

configuration {
label = "region"
value = "europe"
}

configuration {
label = "destination"
value = "parking"
}
}
}
}
```

Expand All @@ -69,7 +79,7 @@ The following arguments are supported:
* `plan_code` - (Required) Plan code
* `pricing_mode` - (Required) Pricing model identifier
* `catalog_name` - Catalog name
* `configuration` - (Optional) Representation of a configuration item for personalizing product
* `configuration` - (Optional) Representation of a configuration item for personalizing product. The list of available configurations can be retrieved using call [GET /order/cart/{cartId}/item/{itemId}/requiredConfiguration](https://eu.api.ovh.com/console/?section=%2Forder&branch=v1#get-/order/cart/-cartId-/item/-itemId-/requiredConfiguration)
* `label` - (Required) Identifier of the resource
* `value` - (Required) Path to the resource in API.OVH.COM

Expand Down