@@ -13,6 +13,7 @@ Gets information about a webhosting offer.
1313# Get info by offer name
1414data "scaleway_webhosting_offer" "by_name" {
1515 name = "performance"
16+ control_panel = "plesk"
1617}
1718
1819# Get info by offer id
@@ -25,6 +26,8 @@ data "scaleway_webhosting_offer" "by_id" {
2526
2627- ` name ` - (Optional) The offer name. Only one of ` name ` and ` offer_id ` should be specified.
2728
29+ - ` control_panel ` - (Optional) Name of the control panel (Cpanel or Plesk). This argument is only used when ` offer_id ` is not specified.
30+
2831- ` offer_id ` - (Optional) The offer id. Only one of ` name ` and ` offer_id ` should be specified.
2932
3033- ` region ` - (Defaults to [ provider] ( ../index.md#zone ) ` region ` ) The [ region] ( ../guides/regions_and_zones.md#zones ) in which offer exists.
@@ -34,7 +37,7 @@ data "scaleway_webhosting_offer" "by_id" {
3437In addition to all arguments above, the following attributes are exported:
3538
3639- ` billing_operation_path ` - The unique identifier used for billing.
37- - ` product ` - The offer product.
40+ - ` product ` - (deprecated) The offer product.
3841 - ` option ` - The product option.
3942 - ` email_accounts_quota ` - The quota of email accounts.
4043 - ` email_storage_quota ` - The quota of email storage.
@@ -43,5 +46,23 @@ In addition to all arguments above, the following attributes are exported:
4346 - ` support_included ` - If support is included.
4447 - ` v_cpu ` - The number of cores.
4548 - ` ram ` - The capacity of the memory in GB.
49+ - ` offer ` - The detailed offer of the hosting.
50+ - ` id ` - The unique identifier of the offer.
51+ - ` name ` - The name of the offer.
52+ - ` billing_operation_path ` - The billing operation identifier for the offer.
53+ - ` available ` - Indicates if the offer is available.
54+ - ` control_panel_name ` - The name of the control panel (e.g., Cpanel or Plesk).
55+ - ` end_of_life ` - Indicates if the offer is deprecated or no longer supported.
56+ - ` quota_warning ` - Warning information regarding quota limitations.
57+ - ` price ` - The price of the offer.
58+ - ` options ` - A list of available options for the offer:
59+ - ` id ` - The unique identifier of the option.
60+ - ` name ` - The name of the option.
61+ - ` billing_operation_path ` - The billing operation identifier for the option.
62+ - ` min_value ` - The minimum value for the option.
63+ - ` current_value ` - The current value set for the option.
64+ - ` max_value ` - The maximum allowed value for the option.
65+ - ` quota_warning ` - Warning information regarding quota limitations for the option.
66+ - ` price ` - The price of the option.
4667- ` price ` - The offer price.
4768
0 commit comments