diff --git a/docs/data-sources/account_project.md b/docs/data-sources/account_project.md
index 752d451a1..9a5c8355b 100644
--- a/docs/data-sources/account_project.md
+++ b/docs/data-sources/account_project.md
@@ -1,41 +1,29 @@
---
-subcategory: "Account"
-page_title: "Scaleway: scaleway_account_project"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_account_project Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_account_project
+# scaleway_account_project (Data Source)
-Gets information about an existing Project.
-## Example Usage
-```hcl
-# Get info by name
-data scaleway_account_project "by_name" {
- name = "myproject"
- organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
-}
-# Get default project
-data scaleway_account_project "by_name" {
- name = "default"
-}
-# Get info by ID
-data scaleway_account_project "by_id" {
- project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
-}
-```
-## Argument Reference
-- `name` - (Optional) The name of the Project.
- Only one of the `name` and `project_id` should be specified.
+
+## Schema
-- `project_id` - (Optional) The ID of the Project.
- Only one of the `name` and `project_id` should be specified.
+### Optional
-- `organization_id` - (Optional) The organization ID the Project is associated with.
- If no default organization_id is set, one must be set explicitly in this datasource
+- `name` (String) The name of the project
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `project_id` (String) The ID of the SSH key
-## Attribute Reference
+### Read-Only
-Exported attributes are the ones from `account_project` [resource](../resources/account_project.md)
+- `created_at` (String) The date and time of the creation of the Project (Format ISO 8601)
+- `description` (String) Description of the project
+- `id` (String) The ID of this resource.
+- `updated_at` (String) The date and time of the last update of the Project (Format ISO 8601)
diff --git a/docs/data-sources/account_ssh_key.md b/docs/data-sources/account_ssh_key.md
index 4e03a34f5..a4e1cefea 100644
--- a/docs/data-sources/account_ssh_key.md
+++ b/docs/data-sources/account_ssh_key.md
@@ -1,36 +1,32 @@
---
-subcategory: "Account"
-page_title: "Scaleway: scaleway_account_ssh_key"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_account_ssh_key Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_account_ssh_key
+# scaleway_account_ssh_key (Data Source)
-Use this data source to get SSH key information based on its ID or name.
-## Example Usage
-```hcl
-# Get info by SSH key name
-data "scaleway_account_ssh_key" "my_key" {
- name = "my-key-name"
-}
-# Get info by SSH key id
-data "scaleway_account_ssh_key" "my_key" {
- ssh_key_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - The SSH key name. Only one of `name` and `ssh_key_id` should be specified.
-- `ssh_key_id` - The SSH key id. Only one of `name` and `ssh_key_id` should be specified.
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the SSH key is associated with.
+### Optional
-## Attributes Reference
+- `name` (String) The name of the iam SSH key
+- `project_id` (String) The project_id you want to attach the resource to
+- `ssh_key_id` (String) The ID of the SSH key
-In addition to all above arguments, the following attributes are exported:
+### Read-Only
-- `id` - The ID of the SSH public key.
-- `public_key` - The SSH public key string
-- `organization_id` - The ID of the organization the SSH key is associated with.
+- `created_at` (String) The date and time of the creation of the iam SSH Key
+- `disabled` (Boolean) The SSH key status
+- `fingerprint` (String) The fingerprint of the iam SSH key
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `public_key` (String) The public SSH key
+- `updated_at` (String) The date and time of the last update of the iam SSH Key
diff --git a/docs/data-sources/availability_zones.md b/docs/data-sources/availability_zones.md
index e1f17269e..0f8bb96ca 100644
--- a/docs/data-sources/availability_zones.md
+++ b/docs/data-sources/availability_zones.md
@@ -1,31 +1,33 @@
---
-subcategory: "Account"
-page_title: "Scaleway: scaleway_availability_zones"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_availability_zones Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_availability_zones
+# scaleway_availability_zones (Data Source)
-Use this data source to get the available zones information based on its Region.
-For technical and legal reasons, some products are split by Region or by Availability Zones. When using such product,
-you can choose the location that better fits your need (country, latency, …).
-## Example Usage
-```hcl
-# Get info by Region key
-data scaleway_availability_zones main {
- region = "nl-ams"
-}
-```
-## Argument Reference
+
+## Schema
-- `region` - Region is represented as a Geographical area such as France. Defaults: `fr-par`.
+### Optional
-## Attributes Reference
+- `region` (String) Region is represented as a Geographical area such as France
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
-In addition to all above arguments, the following attributes are exported:
+### Read-Only
-- `id` - The Region ID
-- `zones` - List of availability zones by regions
+- `id` (String) The ID of this resource.
+- `zones` (List of String) Availability Zones (AZ)
+
+
+### Nested Schema for `timeouts`
+
+Optional:
+
+- `read` (String)
diff --git a/docs/data-sources/baremetal_offer.md b/docs/data-sources/baremetal_offer.md
index 06b093897..b16d65276 100644
--- a/docs/data-sources/baremetal_offer.md
+++ b/docs/data-sources/baremetal_offer.md
@@ -1,82 +1,64 @@
---
-subcategory: "Elastic Metal"
-page_title: "Scaleway: scaleway_baremetal_offer"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_baremetal_offer Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_baremetal_offer
+# scaleway_baremetal_offer (Data Source)
-Gets information about a baremetal offer. For more information, see [the documentation](https://developers.scaleway.com/en/products/baremetal/api).
-## Example Usage
-```hcl
-# Get info by offer name
-data "scaleway_baremetal_offer" "my_offer" {
- zone = "fr-par-2"
- name = "EM-A210R-SATA"
-}
-# Get info by offer id
-data "scaleway_baremetal_offer" "my_offer" {
- zone = "fr-par-2"
- offer_id = "25dcf38b-c90c-4b18-97a2-6956e9d1e113"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - (Optional) The offer name. Only one of `name` and `offer_id` should be specified.
+### Optional
-- `subscription_period` - (Optional) Period of subscription the desired offer. Should be `hourly` or `monthly`.
+- `include_disabled` (Boolean) Include disabled offers
+- `name` (String) Exact name of the desired offer
+- `offer_id` (String) ID of the desired offer
+- `subscription_period` (String) Period of subscription the desired offer
+- `zone` (String) The zone you want to attach the resource to
-- `offer_id` - (Optional) The offer id. Only one of `name` and `offer_id` should be specified.
+### Read-Only
-- `allow_disabled` - (Optional, default `false`) Include disabled offers.
+- `bandwidth` (Number) Available Bandwidth with the offer
+- `commercial_range` (String) Commercial range of the offer
+- `cpu` (List of Object) CPU specifications of the offer (see [below for nested schema](#nestedatt--cpu))
+- `disk` (List of Object) Disk specifications of the offer (see [below for nested schema](#nestedatt--disk))
+- `id` (String) The ID of this resource.
+- `memory` (List of Object) Memory specifications of the offer (see [below for nested schema](#nestedatt--memory))
+- `stock` (String) Stock status for this offer
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the offer should be created.
+
+### Nested Schema for `cpu`
-## Attributes Reference
+Read-Only:
-In addition to all above arguments, the following attributes are exported:
+- `core_count` (Number)
+- `frequency` (Number)
+- `name` (String)
+- `thread_count` (Number)
-- `id` - The ID of the offer.
-~> **Important:** Baremetal offers' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
+
+### Nested Schema for `disk`
-- `bandwidth` - Available Bandwidth with the offer.
+Read-Only:
-- `commercial_range` - Commercial range of the offer.
+- `capacity` (Number)
+- `type` (String)
-- `cpu` - A list of cpu specifications. (Structure is documented below.)
-- `disk` - A list of disk specifications. (Structure is documented below.)
+
+### Nested Schema for `memory`
-- `memory` - A list of memory specifications. (Structure is documented below.)
+Read-Only:
-- `stock` - Stock status for this offer. Possible values are: `empty`, `low` or `available`.
-
-The `cpu` block supports:
-
-- `name` - Name of the CPU.
-
-- `core_count`- Number of core on this CPU.
-
-- `frequency`- Frequency of the CPU in MHz.
-
-- `thread_count`- Number of thread on this CPU.
-
-The `disk` block supports:
-
-- `type` - Type of disk.
-
-- `capacity`- Capacity of the disk in GB.
-
-The `memory` block supports:
-
-- `type` - Type of memory.
-
-- `capacity`- Capacity of the memory in GB.
-
-- `frequency` - Frequency of the memory in MHz.
-
-- `is_ecc`- True if error-correcting code is available on this memory.
+- `capacity` (Number)
+- `frequency` (Number)
+- `is_ecc` (Boolean)
+- `type` (String)
diff --git a/docs/data-sources/baremetal_option.md b/docs/data-sources/baremetal_option.md
index be2ee904a..86813edf0 100644
--- a/docs/data-sources/baremetal_option.md
+++ b/docs/data-sources/baremetal_option.md
@@ -1,40 +1,27 @@
---
-subcategory: "Elastic Metal"
-page_title: "Scaleway: scaleway_baremetal_option"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_baremetal_option Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_baremetal_option
+# scaleway_baremetal_option (Data Source)
-Gets information about a baremetal option.
-For more information, see [the documentation](https://developers.scaleway.com/en/products/baremetal/api).
-## Example Usage
-```hcl
-# Get info by option name
-data "scaleway_baremetal_option" "by_name" {
- name = "Remote Access"
-}
-# Get info by option id
-data "scaleway_baremetal_option" "by_id" {
- option_id = "931df052-d713-4674-8b58-96a63244c8e2"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - (Optional) The option name. Only one of `name` and `option_id` should be specified.
-- `option_id` - (Optional) The option id. Only one of `name` and `option_id` should be specified.
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the option exists.
+### Optional
-## Attributes Reference
+- `name` (String) Exact label of the desired option
+- `option_id` (String) The ID of the option
+- `zone` (String) The zone you want to attach the resource to
-In addition to all above arguments, the following attributes are exported:
+### Read-Only
-- `id` - The ID of the option.
-
-~> **Important:** Baremetal options' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
-
-- `name` - The name of the option.
-- `manageable` - Is false if the option could not be added or removed.
\ No newline at end of file
+- `id` (String) The ID of this resource.
+- `manageable` (Boolean) Is false if the option could not be added or removed
diff --git a/docs/data-sources/baremetal_os.md b/docs/data-sources/baremetal_os.md
index 390182b38..67c01c5cb 100644
--- a/docs/data-sources/baremetal_os.md
+++ b/docs/data-sources/baremetal_os.md
@@ -1,41 +1,27 @@
---
-subcategory: "Elastic Metal"
-page_title: "Scaleway: scaleway_baremetal_os"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_baremetal_os Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_baremetal_os
+# scaleway_baremetal_os (Data Source)
-Gets information about a baremetal operating system.
-For more information, see [the documentation](https://www.scaleway.com/en/developers/api/elastic-metal/#path-os-list-available-oses).
-You can also use the [scaleway-cli](https://github.com/scaleway/scaleway-cli) with `scw baremetal os list` to list all available operating systems.
-## Example Usage
-```hcl
-# Get info by os name and version
-data "scaleway_baremetal_os" "by_name" {
- name = "Ubuntu"
- version = "20.04 LTS (Focal Fossa)"
-}
-# Get info by os id
-data "scaleway_baremetal_os" "by_id" {
- os_id = "03b7f4ba-a6a1-4305-984e-b54fafbf1681"
-}
-```
+
+## Schema
-## Argument Reference
+### Optional
-- `name` - (Optional) The os name. Only one of `name` and `os_id` should be specified.
-- `version` - (Optional) The os version.
-- `os_id` - (Optional) The operating system id. Only one of `name` and `os_id` should be specified.
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the os exists.
+- `name` (String) Exact label of the desired image
+- `os_id` (String) The ID of the os
+- `version` (String) Version string of the desired OS
+- `zone` (String) The zone you want to attach the resource to
-## Attributes Reference
+### Read-Only
-In addition to all above arguments, the following attributes are exported:
-
-- `id` - The resource's ID
-
-~> **Important:** Baremetal operating systems' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
+- `id` (String) The ID of this resource.
diff --git a/docs/data-sources/baremetal_server.md b/docs/data-sources/baremetal_server.md
index e0437da5e..a5e55ca3a 100644
--- a/docs/data-sources/baremetal_server.md
+++ b/docs/data-sources/baremetal_server.md
@@ -1,38 +1,106 @@
---
-subcategory: "Elastic Metal"
-page_title: "Scaleway: scaleway_baremetal_server"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_baremetal_server Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_baremetal_server
+# scaleway_baremetal_server (Data Source)
-Gets information about a baremetal server.
-For more information, see [the documentation](https://developers.scaleway.com/en/products/baremetal/api).
-## Example Usage
-```hcl
-# Get info by server name
-data "scaleway_baremetal_server" "by_name" {
- name = "foobar"
- zone = "fr-par-2"
-}
-# Get info by server id
-data "scaleway_baremetal_server" "by_id" {
- server_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - (Optional) The server name. Only one of `name` and `server_id` should be specified.
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the server exists.
-- `project_id` - (Optional) The ID of the project the baremetal server is associated with.
+### Optional
-## Attributes Reference
+- `name` (String) Name of the server
+- `project_id` (String) The project_id you want to attach the resource to
+- `server_id` (String) The ID of the server
+- `zone` (String) The zone you want to attach the resource to
-In addition to all above arguments, the following attributes are exported:
+### Read-Only
-- `id` - The ID of the server.
+- `description` (String) Some description to associate to the server, max 255 characters
+- `domain` (String)
+- `hostname` (String) Hostname of the server
+- `id` (String) The ID of this resource.
+- `install_config_afterward` (Boolean) If True, this boolean allows to create a server without the install config if you want to provide it later
+- `ips` (List of Object) IP addresses attached to the server. (see [below for nested schema](#nestedatt--ips))
+- `ipv4` (List of Object) IPv4 addresses attached to the server (see [below for nested schema](#nestedatt--ipv4))
+- `ipv6` (List of Object) IPv6 addresses attached to the server (see [below for nested schema](#nestedatt--ipv6))
+- `offer` (String) ID or name of the server offer
+- `offer_id` (String) ID of the server offer
+- `offer_name` (String) Name of the server offer
+- `options` (Set of Object) The options to enable on server (see [below for nested schema](#nestedatt--options))
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `os` (String) The base image of the server
+- `os_name` (String) The base image name of the server
+- `password` (String) Password used for the installation.
+- `private_network` (Set of Object) The private networks to attach to the server (see [below for nested schema](#nestedatt--private_network))
+- `reinstall_on_config_changes` (Boolean) If True, this boolean allows to reinstall the server on SSH key IDs, user or password changes
+- `service_password` (String) Password used for the service to install.
+- `service_user` (String) User used for the service to install.
+- `ssh_key_ids` (List of String) Array of SSH key IDs allowed to SSH to the server
-~> **Important:** Baremetal servers' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
+**NOTE** : If you are attempting to update your SSH key IDs, it will induce the reinstall of your server.
+If this behaviour is wanted, please set 'reinstall_on_ssh_key_changes' argument to true.
+- `tags` (List of String) Array of tags to associate with the server
+- `user` (String) User used for the installation.
+
+
+### Nested Schema for `ips`
+
+Read-Only:
+
+- `address` (String)
+- `id` (String)
+- `reverse` (String)
+- `version` (String)
+
+
+
+### Nested Schema for `ipv4`
+
+Read-Only:
+
+- `address` (String)
+- `id` (String)
+- `reverse` (String)
+- `version` (String)
+
+
+
+### Nested Schema for `ipv6`
+
+Read-Only:
+
+- `address` (String)
+- `id` (String)
+- `reverse` (String)
+- `version` (String)
+
+
+
+### Nested Schema for `options`
+
+Read-Only:
+
+- `expires_at` (String)
+- `id` (String)
+- `name` (String)
+
+
+
+### Nested Schema for `private_network`
+
+Read-Only:
+
+- `created_at` (String)
+- `id` (String)
+- `status` (String)
+- `updated_at` (String)
+- `vlan` (Number)
diff --git a/docs/data-sources/billing_consumptions.md b/docs/data-sources/billing_consumptions.md
new file mode 100644
index 000000000..e9f12c00b
--- /dev/null
+++ b/docs/data-sources/billing_consumptions.md
@@ -0,0 +1,40 @@
+---
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_billing_consumptions Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
+---
+
+# scaleway_billing_consumptions (Data Source)
+
+
+
+
+
+
+## Schema
+
+### Optional
+
+- `project_id` (String) The project_id you want to attach the resource to
+
+### Read-Only
+
+- `consumptions` (List of Object) (see [below for nested schema](#nestedatt--consumptions))
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `updated_at` (String)
+
+
+### Nested Schema for `consumptions`
+
+Read-Only:
+
+- `billed_quantity` (String)
+- `category_name` (String)
+- `product_name` (String)
+- `project_id` (String)
+- `sku` (String)
+- `unit` (String)
+- `value` (String)
diff --git a/docs/data-sources/billing_invoices.md b/docs/data-sources/billing_invoices.md
index 8b406aa91..607b88d81 100644
--- a/docs/data-sources/billing_invoices.md
+++ b/docs/data-sources/billing_invoices.md
@@ -1,54 +1,50 @@
---
-subcategory: "Billing"
-page_title: "Scaleway: scaleway_billing_invoices"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_billing_invoices Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_billing_invoices
+# scaleway_billing_invoices (Data Source)
-Gets information about your Invoices.
-## Example Usage
-```hcl
-# List invoices starting after a certain date
-data "scaleway_billing_invoices" "my-invoices" {
- started_after = "2023-10-01T00:00:00Z"
-}
-# List invoices by type
-data "scaleway_billing_invoices" "my-invoices" {
- invoice_type = "periodic"
-}
-```
-## Argument Reference
+
+## Schema
-- `started_after` - (Optional) Invoices with a start date that are greater or equal to `started_after` are listed (RFC 3339 format).
+### Optional
-- `started_before` - (Optional) Invoices with a start date that precedes `started_before` are listed (RFC 3339 format).
+- `invoice_type` (String) The invoice type. It can either be `periodic` or `purchase`
+- `started_after` (String) Invoice's start date is greater or equal to `started_after`
+- `started_before` (String) Invoice's start date precedes `started_before`
-- `invoice_type` - (Optional) Invoices with the given type are listed. Valid values are `periodic` and `purchase`.
+### Read-Only
-- `organization_id` - (Defaults to [provider](../index.md#organization_d) `organization_id`) The ID of the organization the invoice list is associated with.
+- `id` (String) The ID of this resource.
+- `invoices` (List of Object) (see [below for nested schema](#nestedatt--invoices))
+- `organization_id` (String) The organization_id you want to attach the resource to
-## Attributes Reference
+
+### Nested Schema for `invoices`
-In addition to all arguments above, the following attributes are exported:
+Read-Only:
-- `invoices` - List of found invoices
- - `id` - The associated invoice ID.
- - `organization_name` - The organization name.
- - `start_date` - The start date of the billing period (RFC 3339 format).
- - `stop_date` - The end date of the billing period (RFC 3339 format).
- - `billing_period` - The billing period of the invoice in the YYYY-MM format.
- - `issued_date` - The date when the invoice was sent to the customer (RFC 3339 format).
- - `due_date` - The payment time limit, set according to the Organization's payment conditions (RFC 3339 format).
- - `total_untaxed` - The total amount, untaxed.
- - `total_taxed` - The total amount, taxed.
- - `total_tax` - The total tax amount of the invoice.
- - `total_discount` - The total discount amount of the invoice.
- - `total_undiscount` - The total amount of the invoice before applying the discount.
- - `invoice_type` - The type of invoice.
- - `state` - The state of the invoice.
- - `number` - The invoice number.
- - `seller_name` - The name of the seller (Scaleway).
\ No newline at end of file
+- `billing_period` (String)
+- `due_date` (String)
+- `id` (String)
+- `invoice_type` (String)
+- `issued_date` (String)
+- `number` (Number)
+- `organization_name` (String)
+- `seller_name` (String)
+- `start_date` (String)
+- `state` (String)
+- `stop_date` (String)
+- `total_discount` (String)
+- `total_tax` (String)
+- `total_taxed` (String)
+- `total_undiscount` (String)
+- `total_untaxed` (String)
diff --git a/docs/data-sources/block_snapshot.md b/docs/data-sources/block_snapshot.md
new file mode 100644
index 000000000..dff5d38aa
--- /dev/null
+++ b/docs/data-sources/block_snapshot.md
@@ -0,0 +1,29 @@
+---
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_block_snapshot Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
+---
+
+# scaleway_block_snapshot (Data Source)
+
+
+
+
+
+
+## Schema
+
+### Optional
+
+- `name` (String) The snapshot name
+- `project_id` (String) The project_id you want to attach the resource to
+- `snapshot_id` (String) The ID of the snapshot
+- `volume_id` (String) ID of the volume from which creates a snapshot
+- `zone` (String) The zone you want to attach the resource to
+
+### Read-Only
+
+- `id` (String) The ID of this resource.
+- `tags` (List of String) The tags associated with the snapshot
diff --git a/docs/data-sources/block_volume.md b/docs/data-sources/block_volume.md
index bb442e6b4..fa8f8345b 100644
--- a/docs/data-sources/block_volume.md
+++ b/docs/data-sources/block_volume.md
@@ -1,35 +1,31 @@
---
-subcategory: "Block"
-page_title: "Scaleway: scaleway_block_volume"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_block_volume Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_block_volume
+# scaleway_block_volume (Data Source)
-Gets information about a Block Volume.
-## Example Usage
-```terraform
-// Get info by volume name
-data "scaleway_block_volume" "my_volume" {
- name = "my-name"
-}
-// Get info by volume ID
-data "scaleway_block_volume" "my_volume" {
- volume_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-The following arguments are supported:
+### Optional
-- `volume_id` - (Optional) The ID of the volume. Only one of `name` and `volume_id` should be specified.
-- `name` - (Optional) The name of the volume. Only one of `name` and `volume_id` should be specified.
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the volume exists.
-- `project_id` - (Optional) The ID of the project the volume is associated with.
+- `name` (String) The volume name
+- `project_id` (String) The project_id you want to attach the resource to
+- `volume_id` (String) The ID of the volume
+- `zone` (String) The zone you want to attach the resource to
-## Attributes Reference
+### Read-Only
-Exported attributes are the ones from `scaleway_block_volume` [resource](../resources/block_volume.md)
+- `id` (String) The ID of this resource.
+- `iops` (Number) The maximum IO/s expected, must match available options
+- `size_in_gb` (Number) The volume size in GB
+- `snapshot_id` (String) The snapshot to create the volume from
+- `tags` (List of String) The tags associated with the volume
diff --git a/docs/data-sources/cockpit.md b/docs/data-sources/cockpit.md
index de3afbbe7..6a3c9af17 100644
--- a/docs/data-sources/cockpit.md
+++ b/docs/data-sources/cockpit.md
@@ -1,43 +1,47 @@
---
-subcategory: "Cockpit"
-page_title: "Scaleway: scaleway_cockpit"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_cockpit Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_cockpit
--> **Note:**
-As of April 2024, Cockpit has introduced regionalization to offer more flexibility and resilience.
-If you have customized dashboards in Grafana for monitoring Scaleway resources, please update your queries to accommodate the new regionalized [data sources](../resources/cockpit_source.md).
+# scaleway_cockpit (Data Source)
-Gets information about the Scaleway Cockpit.
-For more information consult the [documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/).
-## Example Usage
-```hcl
-// Get default project's cockpit
-data "scaleway_cockpit" "main" {}
-```
-```hcl
-// Get a specific project's cockpit
-data "scaleway_cockpit" "main" {
- project_id = "11111111-1111-1111-1111-111111111111"
-}
-```
+
+## Schema
-## Arguments Reference
+### Optional
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the cockpit is associated with.
+- `project_id` (String) The project_id you want to attach the resource to
+### Read-Only
-## Attributes Reference
+- `endpoints` (List of Object) Endpoints (see [below for nested schema](#nestedatt--endpoints))
+- `id` (String) The ID of this resource.
+- `plan_id` (String) The plan ID of the cockpit
+- `push_url` (List of Object) Push_url (see [below for nested schema](#nestedatt--push_url))
-In addition to all arguments above, the following attributes are exported:
+
+### Nested Schema for `endpoints`
-- `plan_id` - The ID of the current plan
-- `endpoints` - Endpoints
- - `metrics_url` - The metrics URL
- - `logs_url` - The logs URL
- - `alertmanager_url` - The alertmanager URL
- - `grafana_url` - The grafana URL
+Read-Only:
+
+- `alertmanager_url` (String)
+- `grafana_url` (String)
+- `logs_url` (String)
+- `metrics_url` (String)
+- `traces_url` (String)
+
+
+
+### Nested Schema for `push_url`
+
+Read-Only:
+
+- `push_logs_url` (String)
+- `push_metrics_url` (String)
diff --git a/docs/data-sources/cockpit_plan.md b/docs/data-sources/cockpit_plan.md
index 0ca1a6718..2722a4c37 100644
--- a/docs/data-sources/cockpit_plan.md
+++ b/docs/data-sources/cockpit_plan.md
@@ -1,23 +1,24 @@
---
-subcategory: "Cockpit"
-page_title: "Scaleway: scaleway_cockpit_plan"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_cockpit_plan Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_cockpit_plan
-Gets information about a Scaleway Cockpit plan.
+# scaleway_cockpit_plan (Data Source)
-## Example Usage
-```hcl
-data "scaleway_cockpit_plan" "premium" {
- name = "premium"
-}
-resource "scaleway_cockpit" "main" {
- plan = data.scaleway_cockpit_plan.premium.id
-}
-```
-## Arguments Reference
-- `name` - (Required) The name of the plan.
+
+## Schema
+
+### Required
+
+- `name` (String) The name of the plan
+
+### Read-Only
+
+- `id` (String) The ID of this resource.
diff --git a/docs/data-sources/container.md b/docs/data-sources/container.md
index ac8b63b29..6890ad4f5 100644
--- a/docs/data-sources/container.md
+++ b/docs/data-sources/container.md
@@ -1,95 +1,51 @@
---
-subcategory: "Containers"
-page_title: "Scaleway: scaleway_container"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_container Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_container
-Gets information about the Scaleway Container.
+# scaleway_container (Data Source)
-For more information consult the [documentation](https://www.scaleway.com/en/docs/faq/serverless-containers/).
-For more details about the limitation check [containers-limitations](https://www.scaleway.com/en/docs/compute/containers/reference-content/containers-limitations/).
-You can check also our [containers guide](https://www.scaleway.com/en/docs/compute/containers/concepts/).
-## Example Usage
-```hcl
-resource scaleway_container_namespace main {
-}
+
+## Schema
-resource scaleway_container main {
- name = "test-container-data"
- namespace_id = scaleway_container_namespace.main.id
-}
+### Required
-// Get info by container name
-data "scaleway_container" "by_name" {
- namespace_id = scaleway_container_namespace.main.id
- name = scaleway_container.main.name
-}
+- `namespace_id` (String) The ID of the Container namespace
-// Get info by container ID
-data "scaleway_container" "by_id" {
- namespace_id = scaleway_container_namespace.main.id
- container_id = scaleway_container.main.id
-}
-```
+### Optional
-## Arguments Reference
+- `container_id` (String) The ID of the Container
+- `name` (String) The container name
+- `project_id` (String) The ID of the project to filter the Container
+- `region` (String) The region you want to attach the resource to
-The following arguments are required:
+### Read-Only
-- `name` - (Required) The unique name of the container name.
-
-- `namespace_id` - (Required) The container namespace ID of the container.
-
-- `project_id` - (Optional) The ID of the project the container is associated with.
-
-~> **Important** Updates to `name` will recreate the container.
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `id` - The ID of the container
-
-~> **Important:** Containers' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
-
-- `description` The description of the container.
-
-- `environment_variables` - The [environment](https://www.scaleway.com/en/docs/compute/containers/concepts/#environment-variables) variables of the container.
-
-- `min_scale` - The minimum of running container instances continuously. Defaults to 0.
-
-- `max_scale` - The maximum of number of instances this container can scale to. Default to 20.
-
-- `memory_limit` - The memory computing resources in MB to allocate to each container. Defaults to 128.
-
-- `cpu_limit` - The amount of vCPU computing resources to allocate to each container. Defaults to 70.
-
-- `timeout` - The maximum amount of time in seconds during which your container can process a request before we stop it. Defaults to 300s.
-
-- `privacy` - The privacy type define the way to authenticate to your container. Please check our dedicated [section](https://developers.scaleway.com/en/products/containers/api/#protocol-9dd4c8).
-
-- `registry_image` - The registry image address. e.g: **"rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE"**.
-
-- `registry_sha256` - The sha256 of your source registry image, changing it will re-apply the deployment. Can be any string.
-
-- `max_concurrency` - The maximum number of simultaneous requests your container can handle at the same time. Defaults to 50.
-
-- `domain_name` - The container domain name.
-
-- `protocol` - The communication [protocol](https://developers.scaleway.com/en/products/containers/api/#protocol-9dd4c8) http1 or h2c. Defaults to http1.
-
-- `port` - The port to expose the container. Defaults to 8080.
-
-- `deploy` - Boolean indicating whether the container is on a production environment.
-
-- `status` - The container status.
-
-- `cron_status` - The cron status of the container.
-
-- `error_message` - The error message of the container.
-
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the container was created.
+- `cpu_limit` (Number) The amount of vCPU computing resources to allocate to each container. Defaults to 70.
+- `cron_status` (String) The cron status
+- `deploy` (Boolean) This allows you to control your production environment
+- `description` (String) The container description
+- `domain_name` (String) The native container domain name.
+- `environment_variables` (Map of String) The environment variables to be injected into your container at runtime.
+- `error_message` (String) The error description
+- `http_option` (String) HTTP traffic configuration
+- `id` (String) The ID of this resource.
+- `max_concurrency` (Number) The maximum the number of simultaneous requests your container can handle at the same time. Defaults to 50.
+- `max_scale` (Number) The maximum of number of instances this container can scale to. Default to 20.
+- `memory_limit` (Number) The memory computing resources in MB to allocate to each container. Defaults to 128.
+- `min_scale` (Number) The minimum of running container instances continuously. Defaults to 0.
+- `port` (Number) The port to expose the container. Defaults to 8080
+- `privacy` (String) The privacy type define the way to authenticate to your container
+- `protocol` (String) The communication protocol http1 or h2c. Defaults to http1.
+- `registry_image` (String) The scaleway registry image address
+- `registry_sha256` (String) The sha256 of your source registry image, changing it will re-apply the deployment. Can be any string
+- `secret_environment_variables` (Map of String) The secret environment variables to be injected into your container at runtime.
+- `status` (String) The container status
+- `timeout` (Number) The maximum amount of time in seconds during which your container can process a request before we stop it. Defaults to 300s.
diff --git a/docs/data-sources/container_namespace.md b/docs/data-sources/container_namespace.md
index 52b372af7..172dd78ee 100644
--- a/docs/data-sources/container_namespace.md
+++ b/docs/data-sources/container_namespace.md
@@ -1,46 +1,34 @@
---
-subcategory: "Containers"
-page_title: "Scaleway: scaleway_container_namespace"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_container_namespace Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_container_namespace
+# scaleway_container_namespace (Data Source)
-Gets information about a container namespace.
-## Example Usage
-```hcl
-// Get info by namespace name
-data "scaleway_container_namespace" "by_name" {
- name = "my-namespace-name"
-}
-// Get info by namespace ID
-data "scaleway_container_namespace" "by_id" {
- namespace_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - (Optional) The namespace name.
- Only one of `name` and `namespace_id` should be specified.
+### Optional
-- `namespace_id` - (Optional) The namespace id.
- Only one of `name` and `namespace_id` should be specified.
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the namespace exists.
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the namespace is associated with.
+- `name` (String) The name of the container namespace
+- `namespace_id` (String) The ID of the Container namespace
+- `project_id` (String) The project_id you want to attach the resource to
+- `region` (String) The region you want to attach the resource to
-## Attributes Reference
+### Read-Only
-In addition to all above arguments, the following attributes are exported:
-
-- `id` - The ID of the container namespace.
-
-~> **Important:** Container namespaces' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
-
-- `organization_id` - The organization ID the namespace is associated with.
-- `description` - The description of the namespace.
-- `environment_variables` - The environment variables of the namespace.
-- `registry_endpoint` - The registry endpoint of the namespace.
-- `registry_namespace_id` - The registry namespace ID of the namespace.
+- `description` (String) The description of the container namespace
+- `destroy_registry` (Boolean) Destroy registry on deletion
+- `environment_variables` (Map of String) The environment variables of the container namespace
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `registry_endpoint` (String) The endpoint reachable by docker
+- `registry_namespace_id` (String) The ID of the registry namespace
+- `secret_environment_variables` (Map of String) The secret environment variables of the container namespace
diff --git a/docs/data-sources/documentdb_database.md b/docs/data-sources/documentdb_database.md
index eb2f42785..1010459ae 100644
--- a/docs/data-sources/documentdb_database.md
+++ b/docs/data-sources/documentdb_database.md
@@ -1,36 +1,33 @@
---
-subcategory: "Databases"
-page_title: "Scaleway: scaleway_documentdb_database"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_documentdb_database Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_documentdb_database
+# scaleway_documentdb_database (Data Source)
-Gets information about DocumentDB database.
-## Example Usage
-```hcl
-# Get the database foobar hosted on instance id 11111111-1111-1111-1111-111111111111
-data scaleway_documentdb_database main {
- instance_id = "11111111-1111-1111-1111-111111111111"
- name = "foobar"
-}
-```
-## Argument Reference
-- `instance_id` - (Required) The DocumentDB instance ID.
+
+## Schema
-- `name` - (Required) The name of the DocumentDB instance.
+### Required
-## Attributes Reference
+- `instance_id` (String) Instance on which the database is created
-In addition to all above arguments, the following attributes are exported:
+### Optional
-- `id` - The ID of the database.
+- `name` (String) The database name
+- `region` (String) The region you want to attach the resource to
-~> **Important:** DocumentDB databases' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{instance-id}/{database-name}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111/database`
+### Read-Only
-- `owner` - The name of the owner of the database.
-- `managed` - Whether the database is managed or not.
-- `size` - Size of the database (in bytes).
+- `id` (String) The ID of this resource.
+- `managed` (Boolean) Whether or not the database is managed
+- `owner` (String) User that own the database
+- `project_id` (String) The project_id you want to attach the resource to
+- `size` (String) Size of the database
diff --git a/docs/data-sources/documentdb_instance.md b/docs/data-sources/documentdb_instance.md
index f85cbb08d..eac8df9bd 100644
--- a/docs/data-sources/documentdb_instance.md
+++ b/docs/data-sources/documentdb_instance.md
@@ -1,47 +1,36 @@
---
-subcategory: "Databases"
-page_title: "Scaleway: scaleway_documentdb_instance"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_documentdb_instance Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_documentdb_instance
+# scaleway_documentdb_instance (Data Source)
-Gets information about an DocumentDB instance.
-## Example Usage
-```hcl
-# Get info by name
-data "scaleway_documentdb_instance" "db" {
- name = "foobar"
-}
-# Get info by instance ID
-data "scaleway_documentdb_instance" "db" {
- instance_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - (Optional) The name of the DocumentDB instance.
- Only one of `name` and `instance_id` should be specified.
+### Optional
-- `instance_id` - (Optional) The DocumentDB instance ID.
- Only one of `name` and `instance_id` should be specified.
+- `instance_id` (String) The ID of the instance
+- `name` (String) The document db instance name
+- `project_id` (String) The project_id you want to attach the resource to
+- `region` (String) The region you want to attach the resource to
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#zones) in which the DocumentDB instance exists.
+### Read-Only
-- `organization_id` - (Defaults to [provider](../index.md#organization_id) `organization_id`) The ID of the organization the DocumentDB instance is in.
-
-- `project_id` - (Optional) The ID of the project the DocumentDB instance is associated with.
-
-
-## Attributes Reference
-
-In addition to all above arguments, the following attributes are exported:
-
-- `id` - The ID of the DocumentDB instance.
-
-~> **Important:** DocumentDB instances' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
-
-Exported attributes are the ones from `scaleway_documentdb_instance` [resource](../resources/documentdb_instance.md)
+- `engine` (String) Database's engine version id
+- `id` (String) The ID of this resource.
+- `is_ha_cluster` (Boolean) Enable or disable high availability for the database instance
+- `node_type` (String) The type of database instance you want to create
+- `password` (String) Password for the first user of the database instance
+- `tags` (List of String) List of tags ["tag1", "tag2", ...] attached to a database instance
+- `telemetry_enabled` (Boolean) Enable telemetry to collects basic anonymous usage data and sends them to FerretDB telemetry service
+- `user_name` (String) Identifier for the first user of the database instance
+- `volume_size_in_gb` (Number) Volume size (in GB) when volume_type is not lssd
+- `volume_type` (String) Type of volume where data are stored
diff --git a/docs/data-sources/documentdb_load_balancer_endpoint.md b/docs/data-sources/documentdb_load_balancer_endpoint.md
index d1069503f..7f80615cb 100644
--- a/docs/data-sources/documentdb_load_balancer_endpoint.md
+++ b/docs/data-sources/documentdb_load_balancer_endpoint.md
@@ -1,42 +1,31 @@
---
-subcategory: "Databases"
-page_title: "Scaleway: scaleway_documentdb_load_balancer_endpoint"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_documentdb_load_balancer_endpoint Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_documentdb_load_balancer_endpoint
+# scaleway_documentdb_load_balancer_endpoint (Data Source)
-Gets information about an DocumentDB load balancer endpoint.
-## Example Usage
-```terraform
-# Get info by instance name
-data "scaleway_documentdb_load_balancer_endpoint" "my_endpoint" {
- instance_name = "foobar"
-}
-# Get info by instance ID
-data "scaleway_documentdb_load_balancer_endpoint" "my_endpoint" {
- instance_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `instance_name` - (Optional) The DocumentDB Instance Name on which the endpoint is attached. Only one of `instance_name` and `instance_id` should be specified.
-- `instance_id` - (Optional) The DocumentDB Instance on which the endpoint is attached. Only one of `instance_name` and `instance_id` should be specified.
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#zones) in which the DocumentDB endpoint exists.
-- `project_id` - (Optional) The ID of the project the DocumentDB endpoint is associated with.
+### Optional
-## Attributes Reference
+- `instance_id` (String) Instance on which the endpoint is attached
+- `instance_name` (String) Instance Name on which the endpoint is attached
+- `project_id` (String) The project_id you want to attach the resource to
+- `region` (String) The region you want to attach the resource to
-In addition to all above arguments, the following attributes are exported:
+### Read-Only
-- `id` - The ID of the DocumentDB endpoint.
-
-~> **Important:** DocumentDB endpoints' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
-
-- `ip` - The IP of your load balancer service.
-- `port` - The port of your load balancer service.
-- `name` - The name of your load balancer service.
-- `hostname` - The hostname of your endpoint.
+- `hostname` (String) The hostname of your endpoint
+- `id` (String) The ID of this resource.
+- `ip` (String) The IP of your load balancer service
+- `name` (String) The name of your load balancer service
+- `port` (Number) The port of your load balancer service
diff --git a/docs/data-sources/domain_record.md b/docs/data-sources/domain_record.md
index 27bc593d8..e5f06dd38 100644
--- a/docs/data-sources/domain_record.md
+++ b/docs/data-sources/domain_record.md
@@ -1,59 +1,85 @@
---
-subcategory: "Domains and DNS"
-page_title: "Scaleway: scaleway_domain_record"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_domain_record Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_domain_record
+# scaleway_domain_record (Data Source)
-Gets information about a domain record.
-## Example Usage
-```hcl
-# Get record by name, type and data
-data "scaleway_domain_record" "by_content" {
- dns_zone = "domain.tld"
- name = "www"
- type = "A"
- data = "1.2.3.4"
-}
-# Get info by ID
-data "scaleway_domain_record" "by_id" {
- dns_zone = "domain.tld"
- record_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `dns_zone` - (Optional) The IP address.
+### Optional
-- `name` - (Required) The name of the record (can be an empty string for a root record).
- Cannot be used with `record_id`.
+- `data` (String) The data of the record
+- `dns_zone` (String) The zone you want to add the record in
+- `name` (String) The name of the record
+- `project_id` (String) The project_id you want to attach the resource to
+- `record_id` (String) The ID of the record
+- `type` (String) The type of the record
-- `type` - (Required) The type of the record (`A`, `AAAA`, `MX`, `CNAME`, `DNAME`, `ALIAS`, `NS`, `PTR`, `SRV`, `TXT`, `TLSA`, or `CAA`).
- Cannot be used with `record_id`.
+### Read-Only
-- `data` - (Required) The content of the record (an IPv4 for an `A`, a string for a `TXT`...).
- Cannot be used with `record_id`.
+- `fqdn` (String) The FQDN of the record
+- `geo_ip` (List of Object) Return record based on client localisation (see [below for nested schema](#nestedatt--geo_ip))
+- `http_service` (List of Object) Return record based on client localisation (see [below for nested schema](#nestedatt--http_service))
+- `id` (String) The ID of this resource.
+- `keep_empty_zone` (Boolean) When destroy a resource record, if a zone have only NS, delete the zone
+- `priority` (Number) The priority of the record
+- `root_zone` (Boolean) Does the DNS zone is the root zone or not
+- `ttl` (Number) The ttl of the record
+- `view` (List of Object) Return record based on client subnet (see [below for nested schema](#nestedatt--view))
+- `weighted` (List of Object) Return record based on weight (see [below for nested schema](#nestedatt--weighted))
-- `record_id` - (Optional) The record ID.
- Cannot be used with `name`, `type` and `data`.
+
+### Nested Schema for `geo_ip`
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the domain is associated with.
+Read-Only:
-## Attributes Reference
+- `matches` (List of Object) (see [below for nested schema](#nestedobjatt--geo_ip--matches))
-In addition to all arguments above, the following attributes are exported:
+
+### Nested Schema for `geo_ip.matches`
-- `id` - The ID of the record.
+Read-Only:
-~> **Important:** Domain records' IDs are of the form `{dns_zone}/{id}`, e.g. `subdomain.domain.tld/11111111-1111-1111-1111-111111111111`
+- `continents` (List of String)
+- `countries` (List of String)
+- `data` (String)
-- `ttl` - Time To Live of the record in seconds.
-- `priority` - The priority of the record (mostly used with an `MX` record)
-- `geo_ip` - Dynamic record base on user geolocalisation ([More information about dynamic records](../resources/domain_record.md#dynamic-records))
-- `http_service` - Dynamic record base on URL resolve ([More information about dynamic records](../resources/domain_record.md#dynamic-records))
-- `weighted` - Dynamic record base on IP weights ([More information about dynamic records](../resources/domain_record.md#dynamic-records))
-- `view` - Dynamic record based on the client’s (resolver) subnet ([More information about dynamic records](../resources/domain_record.md#dynamic-records))
+
+
+
+### Nested Schema for `http_service`
+
+Read-Only:
+
+- `ips` (List of String)
+- `must_contain` (String)
+- `strategy` (String)
+- `url` (String)
+- `user_agent` (String)
+
+
+
+### Nested Schema for `view`
+
+Read-Only:
+
+- `data` (String)
+- `subnet` (String)
+
+
+
+### Nested Schema for `weighted`
+
+Read-Only:
+
+- `ip` (String)
+- `weight` (Number)
diff --git a/docs/data-sources/domain_zone.md b/docs/data-sources/domain_zone.md
index 7687450af..7a8443a31 100644
--- a/docs/data-sources/domain_zone.md
+++ b/docs/data-sources/domain_zone.md
@@ -1,46 +1,32 @@
---
-subcategory: "Domains and DNS"
-page_title: "Scaleway: scaleway_domain_zone"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_domain_zone Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_domain_zone
+# scaleway_domain_zone (Data Source)
-Gets information about a domain zone.
-## Example Usage
-```hcl
-# Get zone
-data "scaleway_domain_zone" "main" {
- domain = "scaleway-terraform.com"
- subdomain = "test"
-}
-```
-## Argument Reference
-The following arguments are supported:
+
+## Schema
-- `domain` - (Required) The domain where the DNS zone will be created.
+### Optional
-- `subdomain` - (Required) The subdomain(zone name) to create in the domain.
+- `domain` (String) The domain where the DNS zone will be created.
+- `subdomain` (String) The subdomain of the DNS zone to create.
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the domain is associated with.
+### Read-Only
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `id` - The ID of the zone, which is of the form `{subdomain}.{domain}`
-
-- `ns` - NameServer list for zone.
-
-- `ns_default` - NameServer default list for zone.
-
-- `ns_master` - NameServer master list for zone.
-
-- `status` - The domain zone status.
-
-- `message` - Message
-
-- `updated_at` - The date and time of the last update of the DNS zone.
+- `id` (String) The ID of this resource.
+- `message` (String) Message
+- `ns` (List of String) NameServer list for zone.
+- `ns_default` (List of String) NameServer default list for zone.
+- `ns_master` (List of String) NameServer master list for zone.
+- `project_id` (String) The project_id you want to attach the resource to
+- `status` (String) The domain zone status.
+- `updated_at` (String) The date and time of the last update of the DNS zone.
diff --git a/docs/data-sources/flexible_ip.md b/docs/data-sources/flexible_ip.md
index c65e03713..6544e6c5c 100644
--- a/docs/data-sources/flexible_ip.md
+++ b/docs/data-sources/flexible_ip.md
@@ -1,43 +1,36 @@
---
-subcategory: "Elastic Metal"
-page_title: "Scaleway: scaleway_flexible_ip"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_flexible_ip Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_flexible_ip
+# scaleway_flexible_ip (Data Source)
-Gets information about a Flexible IP.
-## Example Usage
-```hcl
-# Get info by IP address
-data "scaleway_flexible_ip" "my_ip" {
- ip_address = "1.2.3.4"
-}
-# Get info by IP ID
-data "scaleway_flexible_ip" "my_ip" {
- ip_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `ip_address` - (Optional) The IP address.
- Only one of `ip_address` and `ip_id` should be specified.
+### Optional
-- `ip_id` - (Optional) The IP ID.
- Only one of `ip_address` and `ip_id` should be specified.
+- `flexible_ip_id` (String) The ID of the IPv4 address
+- `ip_address` (String) The IPv4 address
+- `project_id` (String) The project_id you want to attach the resource to
-## Attributes Reference
+### Read-Only
-In addition to all above arguments, the following attributes are exported:
-
-- `id` - The ID of the flexible IP.
-
-~> **Important:** Flexible IPs' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
-
-- `reverse` - The reverse domain associated with this IP.
-- `server_id` - The associated server ID if any
-- `organization_id` - (Defaults to [provider](../index.md#organization_id) `organization_id`) The ID of the organization the IP is in.
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the IP is in.
+- `created_at` (String) The date and time of the creation of the Flexible IP (Format ISO 8601)
+- `description` (String) Description of the flexible IP
+- `id` (String) The ID of this resource.
+- `is_ipv6` (Boolean) Defines whether the flexible IP has an IPv6 address
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `reverse` (String) The reverse DNS for this flexible IP
+- `server_id` (String) The baremetal server associated with this flexible IP
+- `status` (String) The status of the flexible IP
+- `tags` (List of String) The tags associated with the flexible IP
+- `updated_at` (String) The date and time of the last update of the Flexible IP (Format ISO 8601)
+- `zone` (String) The zone you want to attach the resource to
diff --git a/docs/data-sources/flexible_ips.md b/docs/data-sources/flexible_ips.md
index a0f73dce6..e7fdd052e 100644
--- a/docs/data-sources/flexible_ips.md
+++ b/docs/data-sources/flexible_ips.md
@@ -1,75 +1,60 @@
---
-subcategory: "Elastic Metal"
-page_title: "Scaleway: scaleway_flexible_ips"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_flexible_ips Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_flexible_ips
-
-Gets information about multiple Flexible IPs.
-
-## Example Usage
-
-```hcl
-# Find ips that share the same tags
-data "scaleway_flexible_ips" "fips_by_tags" {
- tags = [ "a tag" ]
-}
-
-# Find ips that share the same Server ID
-data "scaleway_baremetal_offer" "my_offer" {
- name = "EM-B112X-SSD"
-}
-
-resource "scaleway_baremetal_server" "base" {
- name = "MyServer"
- offer = data.scaleway_baremetal_offer.my_offer.offer_id
- install_config_afterward = true
-}
-
-resource "scaleway_flexible_ip" "first" {
- server_id = scaleway_baremetal_server.base.id
- tags = [ "foo", "first" ]
-}
-
-resource "scaleway_flexible_ip" "second" {
- server_id = scaleway_baremetal_server.base.id
- tags = [ "foo", "second" ]
-}
-
-data "scaleway_flexible_ips" "fips_by_server_id" {
- server_ids = [scaleway_baremetal_server.base.id]
- depends_on = [scaleway_flexible_ip.first, scaleway_flexible_ip.second]
-}
-```
-
-## Argument Reference
-
-- `server_ids` - (Optional) List of server IDs used as filter. IPs with these exact server IDs are listed.
-
-- `tags` - (Optional) List of tags used as filter. IPs with these exact tags are listed.
-
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which IPs exist.
-
-## Attributes Reference
-
-In addition to all above arguments, the following attributes are exported:
-
-- `ips` - List of found flexible IPS
- - `id` - The associated flexible IP ID.
- - `description` - The description of the flexible IP.
- - `tags` - The list of tags which are attached to the flexible IP.
- - `status` - The status of the flexible IP.
- - `mac_address` - The MAC address of the server associated with this flexible IP.
- - `id` - The MAC address ID.
- - `mac_address` - The MAC address of the Virtual MAC.
- - `mac_type` - The type of virtual MAC.
- - `status` - The status of virtual MAC.
- - `created_at` - The date on which the virtual MAC was created (RFC 3339 format).
- - `updated_at` - The date on which the virtual MAC was last updated (RFC 3339 format).
- - `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the MAC address exist.
- - `created_at` - The date on which the flexible IP was created (RFC 3339 format).
- - `updated_at` - The date on which the flexible IP was last updated (RFC 3339 format).
- - `reverse` - The reverse domain associated with this IP.
- - `server_id` - The associated server ID if any.
- - `organization_id` - (Defaults to [provider](../index.md#organization_id) `organization_id`) The ID of the organization the IP is in.
- - `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the IP is in.
+# scaleway_flexible_ips (Data Source)
+
+
+
+
+
+
+## Schema
+
+### Optional
+
+- `project_id` (String) The project_id you want to attach the resource to
+- `server_ids` (List of String) Flexible IPs that are attached to these server IDs are listed
+- `tags` (List of String) Flexible IPs with these exact tags are listed
+- `zone` (String) The zone you want to attach the resource to
+
+### Read-Only
+
+- `id` (String) The ID of this resource.
+- `ips` (List of Object) (see [below for nested schema](#nestedatt--ips))
+- `organization_id` (String) The organization_id you want to attach the resource to
+
+
+### Nested Schema for `ips`
+
+Read-Only:
+
+- `created_at` (String)
+- `description` (String)
+- `id` (String)
+- `ip_address` (String)
+- `mac_address` (List of Object) (see [below for nested schema](#nestedobjatt--ips--mac_address))
+- `organization_id` (String)
+- `project_id` (String)
+- `reverse` (String)
+- `status` (String)
+- `tags` (List of String)
+- `updated_at` (String)
+- `zone` (String)
+
+
+### Nested Schema for `ips.mac_address`
+
+Read-Only:
+
+- `created_at` (String)
+- `id` (String)
+- `mac_address` (String)
+- `mac_type` (String)
+- `status` (String)
+- `updated_at` (String)
+- `zone` (String)
diff --git a/docs/data-sources/function.md b/docs/data-sources/function.md
index afbce593a..06577fd1f 100644
--- a/docs/data-sources/function.md
+++ b/docs/data-sources/function.md
@@ -1,36 +1,48 @@
---
-subcategory: "Functions"
-page_title: "Scaleway: scaleway_function"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_function Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_function
+# scaleway_function (Data Source)
-Gets information about a function.
-## Example Usage
-```terraform
-// Get info by function name
-data "scaleway_function" "my_function" {
- name = "my-namespace-name"
- namespace_id = "11111111-1111-1111-1111-111111111111"
-}
-// Get info by function ID
-data "scaleway_function" "my_function" {
- function_id = "11111111-1111-1111-1111-111111111111"
- namespace_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `namespace_id` - (Required) The namespace id associated with this function.
-- `name` - (Optional) The function name. Only one of `name` and `namespace_id` should be specified.
-- `function_id` - (Optional) The function id. Only one of `name` and `function_id` should be specified.
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the function exists.
-- `project_id` - (Optional) The ID of the project the function is associated with.
+### Required
-## Attributes Reference
+- `namespace_id` (String) The namespace ID associated with this function
-Exported attributes are the ones from `scaleway_function` [resource](../resources/function.md)
+### Optional
+
+- `function_id` (String) The ID of the function
+- `name` (String) The name of the function
+- `project_id` (String) The project_id you want to attach the resource to
+- `region` (String) The region you want to attach the resource to
+
+### Read-Only
+
+- `cpu_limit` (Number) CPU limit in mCPU for your function
+- `deploy` (Boolean) Define if the function should be deployed, terraform will wait for function to be deployed
+- `description` (String) The description of the function
+- `domain_name` (String) The native function domain name.
+- `environment_variables` (Map of String) The environment variables of the function
+- `handler` (String) Handler of the function. Depends on the runtime https://developers.scaleway.com/en/products/functions/api/#create-a-function
+- `http_option` (String) HTTP traffic configuration
+- `id` (String) The ID of this resource.
+- `max_scale` (Number) Maximum replicas for your function (defaults to 20), our system will scale your functions automatically based on incoming workload, but will never scale the number of replicas above the configured max_scale.
+- `memory_limit` (Number) Memory limit in MB for your function, defaults to 128MB
+- `min_scale` (Number) Minimum replicas for your function, defaults to 0, Note that a function is billed when it gets executed, and using a min_scale greater than 0 will cause your function to run all the time.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `privacy` (String) Privacy of the function. Can be either `private` or `public`
+- `runtime` (String) Runtime of the function
+- `secret_environment_variables` (Map of String) The secret environment variables to be injected into your function at runtime.
+- `timeout` (Number) Holds the max duration (in seconds) the function is allowed for responding to a request
+- `zip_file` (String) Location of the zip file to upload containing your function sources
+- `zip_hash` (String) The hash of your source zip file, changing it will re-apply function. Can be any string
diff --git a/docs/data-sources/function_namespace.md b/docs/data-sources/function_namespace.md
index 027414d83..98fcfeb4e 100644
--- a/docs/data-sources/function_namespace.md
+++ b/docs/data-sources/function_namespace.md
@@ -1,46 +1,33 @@
---
-subcategory: "Functions"
-page_title: "Scaleway: scaleway_function_namespace"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_function_namespace Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_function_namespace
+# scaleway_function_namespace (Data Source)
-Gets information about a function namespace.
-## Example Usage
-```hcl
-// Get info by namespace name
-data "scaleway_function_namespace" "my_namespace" {
- name = "my-namespace-name"
-}
-// Get info by namespace ID
-data "scaleway_function_namespace" "my_namespace" {
- namespace_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - (Optional) The namespace name.
- Only one of `name` and `namespace_id` should be specified.
+### Optional
-- `namespace_id` - (Optional) The namespace id.
- Only one of `name` and `namespace_id` should be specified.
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the namespace exists.
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the namespace is associated with.
+- `name` (String) The name of the function namespace
+- `namespace_id` (String) The ID of the function namespace
+- `project_id` (String) The project_id you want to attach the resource to
+- `region` (String) The region you want to attach the resource to
-## Attributes Reference
+### Read-Only
-In addition to all above arguments, the following attributes are exported:
-
-- `id` - The ID of the function namespace.
-
-~> **Important:** Function namespaces' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
-
-- `organization_id` - The organization ID the namespace is associated with.
-- `description` - The description of the namespace.
-- `environment_variables` - The environment variables of the namespace.
-- `registry_endpoint` - The registry endpoint of the namespace.
-- `registry_namespace_id` - The registry namespace ID of the namespace.
+- `description` (String) The description of the function namespace
+- `environment_variables` (Map of String) The environment variables of the function namespace
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `registry_endpoint` (String) The endpoint reachable by docker
+- `registry_namespace_id` (String) The ID of the registry namespace
+- `secret_environment_variables` (Map of String) The environment variables of the function namespace
diff --git a/docs/data-sources/iam_application.md b/docs/data-sources/iam_application.md
index 4c96a243b..88192b76c 100644
--- a/docs/data-sources/iam_application.md
+++ b/docs/data-sources/iam_application.md
@@ -1,36 +1,31 @@
---
-subcategory: "IAM"
-page_title: "Scaleway: scaleway_iam_application"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_iam_application Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_iam_application
+# scaleway_iam_application (Data Source)
-Gets information about an existing IAM application.
-## Example Usage
-```hcl
-# Get info by name
-data "scaleway_iam_application" "find_by_name" {
- name = "foobar"
-}
-# Get info by application ID
-data "scaleway_iam_application" "find_by_id" {
- application_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
-- `name` - (Optional) The name of the IAM application.
- Only one of the `name` and `application_id` should be specified.
+
+## Schema
-- `application_id` - (Optional) The ID of the IAM application.
- Only one of the `name` and `application_id` should be specified.
+### Optional
-- `organization_id` - (Optional. Defaults to [provider](../index.md#organization_d) `organization_id`) The ID of the
- organization the application is associated with.
+- `application_id` (String) The ID of the IAM application
+- `name` (String) The name of the iam application
+- `organization_id` (String) The organization_id the application is associated to
-## Attribute Reference
+### Read-Only
-Exported attributes are the ones from `iam_application` [resource](../resources/iam_application.md)
+- `created_at` (String) The date and time of the creation of the application
+- `description` (String) The description of the iam application
+- `editable` (Boolean) Whether or not the application is editable.
+- `id` (String) The ID of this resource.
+- `tags` (List of String) The tags associated with the application
+- `updated_at` (String) The date and time of the last update of the application
diff --git a/docs/data-sources/iam_group.md b/docs/data-sources/iam_group.md
index 69ddc6e3b..a2991ecdc 100644
--- a/docs/data-sources/iam_group.md
+++ b/docs/data-sources/iam_group.md
@@ -1,38 +1,33 @@
---
-subcategory: "IAM"
-page_title: "Scaleway: scaleway_iam_group"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_iam_group Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_iam_group
+# scaleway_iam_group (Data Source)
-Gets information about an existing IAM group. For more information, please
-check [the documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#applications-83ce5e)
-## Example Usage
-```hcl
-# Get info by name
-data "scaleway_iam_group" "find_by_name" {
- name = "foobar"
-}
-# Get info by group ID
-data "scaleway_iam_group" "find_by_id" {
- group_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - (Optional) The name of the IAM group.
- Only one of the `name` and `group_id` should be specified.
+### Optional
-- `group_id` - (Optional) The ID of the IAM group.
- Only one of the `name` and `group_id` should be specified.
+- `group_id` (String) The ID of the IAM group
+- `name` (String) The name of the iam group
+- `organization_id` (String) The organization_id you want to attach the resource to
-- `organization_id` - (Optional. Defaults to [provider](../index.md#organization_d) `organization_id`) The ID of the
- organization the group is associated with.
+### Read-Only
-## Attribute Reference
-
-Exported attributes are the ones from `iam_group` [resource](../resources/iam_group.md)
+- `application_ids` (Set of String) List of IDs of the applications attached to the group
+- `created_at` (String) The date and time of the creation of the group
+- `description` (String) The description of the iam group
+- `external_membership` (Boolean) Handle user and application memberships externally
+- `id` (String) The ID of this resource.
+- `tags` (List of String) The tags associated with the application
+- `updated_at` (String) The date and time of the last update of the group
+- `user_ids` (Set of String) List of IDs of the users attached to the group
diff --git a/docs/data-sources/iam_ssh_key.md b/docs/data-sources/iam_ssh_key.md
index 58cec1f85..654e7f661 100644
--- a/docs/data-sources/iam_ssh_key.md
+++ b/docs/data-sources/iam_ssh_key.md
@@ -1,40 +1,32 @@
---
-subcategory: "IAM"
-page_title: "Scaleway: scaleway_iam_ssh_key"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_iam_ssh_key Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_iam_ssh_key
+# scaleway_iam_ssh_key (Data Source)
-Use this data source to get SSH key information based on its ID or name.
-## Example Usage
-```hcl
-# Get info by SSH key name
-data "scaleway_iam_ssh_key" "my_key" {
- name = "my-key-name"
-}
-# Get info by SSH key id
-data "scaleway_iam_ssh_key" "my_key" {
- ssh_key_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - The SSH key name. Only one of `name` and `ssh_key_id` should be specified.
-- `ssh_key_id` - The SSH key id. Only one of `name` and `ssh_key_id` should be specified.
-- `project_id` (Optional. Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the SSH
- key is associated with.
+### Optional
-## Attributes Reference
+- `name` (String) The name of the iam SSH key
+- `project_id` (String) The project_id you want to attach the resource to
+- `ssh_key_id` (String) The ID of the SSH key
-In addition to all above arguments, the following attributes are exported:
+### Read-Only
-- `id` - The ID of the SSH public key.
-- `public_key` - The SSH public key string
-- `organization_id` - The ID of the organization the SSH key is associated with.
-- `created_at` - The date and time of the creation of the SSH key.
-- `updated_at` - The date and time of the last update of the SSH key.
-- `disabled` - The SSH key status.
+- `created_at` (String) The date and time of the creation of the iam SSH Key
+- `disabled` (Boolean) The SSH key status
+- `fingerprint` (String) The fingerprint of the iam SSH key
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `public_key` (String) The public SSH key
+- `updated_at` (String) The date and time of the last update of the iam SSH Key
diff --git a/docs/data-sources/iam_user.md b/docs/data-sources/iam_user.md
index 2973d23b2..9f8930b6d 100644
--- a/docs/data-sources/iam_user.md
+++ b/docs/data-sources/iam_user.md
@@ -1,36 +1,26 @@
---
-subcategory: "IAM"
-page_title: "Scaleway: scaleway_iam_user"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_iam_user Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_iam_user
+# scaleway_iam_user (Data Source)
-Use this data source to get information on an existing IAM user based on its ID or email address.
-For more information,
-see [the documentation](https://developers.scaleway.com/en/products/iam/api/v1alpha1/#users-06bdcf).
-## Example Usage
-```hcl
-# Get info by user id
-data "scaleway_iam_user" "find_by_id" {
- user_id = "11111111-1111-1111-1111-111111111111"
-}
-# Get info by email address
-data "scaleway_iam_user" "find_by_email" {
- email = "foo@bar.com"
-}
-```
-## Argument Reference
-- `email` - (Optional) The email address of the IAM user. Only one of the `email` and `user_id` should be specified.
-- `user_id` - (Optional) The ID of the IAM user. Only one of the `email` and `user_id` should be specified.
-- `organization_id` - (Optional. Defaults to [provider](../index.md#organization_d) `organization_id`) The ID of the
- organization the user is associated with.
+
+## Schema
-## Attributes Reference
+### Optional
-In addition to all above arguments, the following attributes are exported:
+- `email` (String) The email address of the IAM user
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `user_id` (String) The ID of the IAM user
-- `id` - The ID of the IAM user.
+### Read-Only
+
+- `id` (String) The ID of this resource.
diff --git a/docs/data-sources/instance_image.md b/docs/data-sources/instance_image.md
index 280e0dbfc..487d6c918 100644
--- a/docs/data-sources/instance_image.md
+++ b/docs/data-sources/instance_image.md
@@ -1,62 +1,38 @@
---
-subcategory: "Instances"
-page_title: "Scaleway: scaleway_instance_image"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_instance_image Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_instance_image
+# scaleway_instance_image (Data Source)
-Gets information about an instance image.
-## Example Usage
-```hcl
-# Get info by image name
-data "scaleway_instance_image" "my_image" {
- name = "my-image-name"
-}
-# Get info by image id
-data "scaleway_instance_image" "my_image" {
- image_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - (Optional) The image name. Only one of `name` and `image_id` should be specified.
+### Optional
-- `image_id` - (Optional) The image id. Only one of `name` and `image_id` should be specified.
+- `architecture` (String) Architecture of the desired image
+- `image_id` (String) ID of the desired image
+- `latest` (Boolean) Select most recent image if multiple match
+- `name` (String) Exact name of the desired image
+- `project_id` (String) The project_id you want to attach the resource to
+- `zone` (String) The zone you want to attach the resource to
-- `architecture` - (Optional, default `x86_64`) The architecture the image is compatible with. Possible values are: `x86_64` or `arm`.
+### Read-Only
-- `latest` - (Optional, default `true`) Use the latest image ID.
-
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the image exists.
-
-## Attributes Reference
-
-In addition to all above arguments, the following attributes are exported:
-
-- `id` - The ID of the image.
-
-~> **Important:** Instance images' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
-
-- `organization_id` - The ID of the organization the image is associated with.
-
-- `project_id` - The ID of the project the image is associated with.
-
-- `creation_date` - Date of the image creation.
-
-- `modification_date` - Date of image latest update.
-
-- `public` - Set to `true` if the image is public.
-
-- `from_server_id` - ID of the server the image if based from.
-
-- `state` - State of the image. Possible values are: `available`, `creating` or `error`.
-
-- `default_bootscript_id` - ID of the default bootscript for this image.
-
-- `root_volume_id` - ID of the root volume in this image.
-
-- `additional_volume_ids` - IDs of the additional volumes in this image.
+- `additional_volume_ids` (List of String) The additional volume IDs attached to the image
+- `creation_date` (String) Date when the image was created
+- `default_bootscript_id` (String) ID of the bootscript associated with this image
+- `from_server_id` (String) ID of the server the image is originated from
+- `id` (String) The ID of this resource.
+- `modification_date` (String) Date when the image was updated
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `public` (Boolean) Indication if the image is public
+- `root_volume_id` (String) ID of the root volume associated with this image
+- `state` (String) State of the image
diff --git a/docs/data-sources/instance_ip.md b/docs/data-sources/instance_ip.md
index ddd6f124a..69475270c 100644
--- a/docs/data-sources/instance_ip.md
+++ b/docs/data-sources/instance_ip.md
@@ -1,48 +1,32 @@
---
-subcategory: "Instances"
-page_title: "Scaleway: scaleway_instance_ip"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_instance_ip Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_instance_ip
+# scaleway_instance_ip (Data Source)
-Gets information about an instance IP.
-## Example Usage
-```hcl
-# Get info by IP address
-data "scaleway_instance_ip" "my_ip" {
- address = "0.0.0.0"
-}
-# Get info by ID
-data "scaleway_instance_ip" "my_ip" {
- id = "fr-par-1/11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `address` - (Optional) The IPv4 address to retrieve
- Only one of `address` and `id` should be specified.
+### Optional
-- `id` - (Optional) The ID of the IP address to retrieve
- Only one of `address` and `id` should be specified.
+- `address` (String) The IP address
+- `id` (String) The ID of the IP address
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the IP should be reserved.
+### Read-Only
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the IP is associated with.
-
-## Attributes Reference
-
-In addition to all above arguments, the following attributes are exported:
-
-- `id` - The ID of the IP.
-
-~> **Important:** Instance IPs' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
-
-- `type` - The type of the IP
-- `address` - The IP address.
-- `prefix` - The IP Prefix.
-- `reverse` - The reverse dns attached to this IP
-- `organization_id` - The organization ID the IP is associated with.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `prefix` (String) The IP prefix
+- `project_id` (String) The project_id you want to attach the resource to
+- `reverse` (String) The reverse DNS for this IP
+- `server_id` (String) The server associated with this IP
+- `tags` (List of String) The tags associated with the ip
+- `type` (String) The type of instance IP
+- `zone` (String) The zone you want to attach the resource to
diff --git a/docs/data-sources/instance_placement_group.md b/docs/data-sources/instance_placement_group.md
index f24072fff..2ffc194d3 100644
--- a/docs/data-sources/instance_placement_group.md
+++ b/docs/data-sources/instance_placement_group.md
@@ -1,44 +1,32 @@
---
-subcategory: "Instances"
-page_title: "Scaleway: scaleway_instance_placement_group"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_instance_placement_group Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_instance_placement_group
+# scaleway_instance_placement_group (Data Source)
-Gets information about a Security Group.
-## Example Usage
-```hcl
-# Get info by placement group name
-data "scaleway_instance_placement_group" "my_key" {
- name = "my-placement-group-name"
-}
-# Get info by placement group id
-data "scaleway_instance_placement_group" "my_key" {
- placement_group_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - (Optional) The placement group name. Only one of `name` and `placement_group_id` should be specified.
+### Optional
-- `placement_group_id` - (Optional) The placement group id. Only one of `name` and `placement_group_id` should be specified.
+- `name` (String) The name of the placement group
+- `placement_group_id` (String) The ID of the placementgroup
+- `project_id` (String) The project_id you want to attach the resource to
+- `zone` (String) The zone you want to attach the resource to
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the placement group is associated with.
+### Read-Only
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the placement group exists.
-
-## Attributes Reference
-
-In addition to all above arguments, the following attributes are exported:
-
-- `id` - The ID of the placement group.
-
-- `policy_type` - The [policy type](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) of the placement group.
-- `policy_mode` -The [policy mode](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) of the placement group.
-- `tags` - A list of tags to apply to the placement group.
-- `policy_respected` - Is true when the policy is respected.
-- `organization_id` - The organization ID the placement group is associated with.
\ No newline at end of file
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `policy_mode` (String) One of the two policy_mode may be selected: enforced or optional.
+- `policy_respected` (Boolean) Is true when the policy is respected.
+- `policy_type` (String) The operating mode is selected by a policy_type
+- `tags` (List of String) The tags associated with the placement group
diff --git a/docs/data-sources/instance_private_nic.md b/docs/data-sources/instance_private_nic.md
index 7a1d4de4d..f7c712b3b 100644
--- a/docs/data-sources/instance_private_nic.md
+++ b/docs/data-sources/instance_private_nic.md
@@ -1,46 +1,33 @@
---
-subcategory: "Instances"
-page_title: "Scaleway: scaleway_instance_private_nic"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_instance_private_nic Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_instance_private_nic
+# scaleway_instance_private_nic (Data Source)
-Gets information about an instance private NIC.
-## Example Usage
-```hcl
-data "scaleway_instance_private_nic" "by_nic_id" {
- server_id = "11111111-1111-1111-1111-111111111111"
- private_nic_id = "11111111-1111-1111-1111-111111111111"
-}
-data "scaleway_instance_private_nic" "by_pn_id" {
- server_id = "11111111-1111-1111-1111-111111111111"
- private_network_id = "11111111-1111-1111-1111-111111111111"
-}
-data "scaleway_instance_private_nic" "by_tags" {
- server_id = "11111111-1111-1111-1111-111111111111"
- tags = ["mytag"]
-}
-```
+
+## Schema
-## Argument Reference
+### Required
-- `server_id` - (Required) The server's id
+- `server_id` (String) The server ID
-- `tags` (Optional) The tags associated with the private NIC.
- As datasource only returns one private NIC, the search with given tags must return only one result
+### Optional
-- `private_nic_id` - (Optional) The ID of the instance server private nic
- Only one of `private_nic_id` and `private_network_id` should be specified.
+- `private_network_id` (String) The private network ID
+- `private_nic_id` (String) The ID of the Private NIC
+- `tags` (List of String) The tags associated with the private-nic
+- `zone` (String) The zone you want to attach the resource to
-- `private_network_id` - (Optional) The ID of the private network
- Only one of `private_nic_id` and `private_network_id` should be specified.
+### Read-Only
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the private nic exists.
-
-## Attributes Reference
-
-Exported attributes are the ones from `instance_private_nic` [resource](../resources/instance_private_nic.md)
+- `id` (String) The ID of this resource.
+- `ip_ids` (List of String) IPAM ip list, should be for internal use only
+- `mac_address` (String) MAC address of the NIC
diff --git a/docs/data-sources/instance_security_group.md b/docs/data-sources/instance_security_group.md
index 3650b3352..086518b4e 100644
--- a/docs/data-sources/instance_security_group.md
+++ b/docs/data-sources/instance_security_group.md
@@ -1,66 +1,62 @@
---
-subcategory: "Instances"
-page_title: "Scaleway: scaleway_instance_security_group"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_instance_security_group Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_instance_security_group
+# scaleway_instance_security_group (Data Source)
-Gets information about a Security Group.
-## Example Usage
-```hcl
-# Get info by security group name
-data "scaleway_instance_security_group" "my_key" {
- name = "my-security-group-name"
-}
-# Get info by security group id
-data "scaleway_instance_security_group" "my_key" {
- security_group_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - (Optional) The security group name. Only one of `name` and `security_group_id` should be specified.
+### Optional
-- `security_group_id` - (Optional) The security group id. Only one of `name` and `security_group_id` should be specified.
+- `name` (String) The name of the security group
+- `project_id` (String) The project_id you want to attach the resource to
+- `security_group_id` (String) The ID of the security group
+- `zone` (String) The zone you want to attach the resource to
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the security group exists.
+### Read-Only
-- `project_id` - (Optional) The ID of the project the security group is associated with.
+- `description` (String) The description of the security group
+- `enable_default_security` (Boolean) Enable blocking of SMTP on IPv4 and IPv6
+- `external_rules` (Boolean)
+- `id` (String) The ID of this resource.
+- `inbound_default_policy` (String) Default inbound traffic policy for this security group
+- `inbound_rule` (List of Object) Inbound rules for this security group (see [below for nested schema](#nestedatt--inbound_rule))
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `outbound_default_policy` (String) Default outbound traffic policy for this security group
+- `outbound_rule` (List of Object) Outbound rules for this security group (see [below for nested schema](#nestedatt--outbound_rule))
+- `stateful` (Boolean) The stateful value of the security group
+- `tags` (List of String) The tags associated with the security group
-## Attributes Reference
+
+### Nested Schema for `inbound_rule`
-In addition to all above arguments, the following attributes are exported:
+Read-Only:
-- `id` - The ID of the security group.
+- `action` (String)
+- `ip` (String)
+- `ip_range` (String)
+- `port` (Number)
+- `port_range` (String)
+- `protocol` (String)
-~> **Important:** Instance security groups' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
-- `organization_id` - The ID of the organization the security group is associated with.
+
+### Nested Schema for `outbound_rule`
-- `inbound_default_policy` - The default policy on incoming traffic. Possible values are: `accept` or `drop`.
+Read-Only:
-- `outbound_default_policy` - The default policy on outgoing traffic. Possible values are: `accept` or `drop`.
-
-- `inbound_rule` - A list of inbound rule to add to the security group. (Structure is documented below.)
-
-- `outbound_rule` - A list of outbound rule to add to the security group. (Structure is documented below.)
-
-The `inbound_rule` and `outbound_rule` block supports:
-
-- `action` - The action to take when rule match. Possible values are: `accept` or `drop`.
-
-- `protocol`- The protocol this rule apply to. Possible values are: `TCP`, `UDP`, `ICMP` or `ANY`.
-
-- `port`- The port this rule apply to. If no port is specified, rule will apply to all port.
-
-- `port_range`- The port range (e.g `22-23`) this rule applies to.
- If no `port` nor `port_range` are specified, rule will apply to all port.
- Only one of `port` and `port_range` should be specified.
-
-- `ip`- The ip this rule apply to.
-
-- `ip_range`- The ip range (e.g `192.168.1.0/24`) this rule apply to.
+- `action` (String)
+- `ip` (String)
+- `ip_range` (String)
+- `port` (Number)
+- `port_range` (String)
+- `protocol` (String)
diff --git a/docs/data-sources/instance_server.md b/docs/data-sources/instance_server.md
index 27b8325a3..ab7cb11f5 100644
--- a/docs/data-sources/instance_server.md
+++ b/docs/data-sources/instance_server.md
@@ -1,95 +1,86 @@
---
-subcategory: "Instances"
-page_title: "Scaleway: scaleway_instance_server"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_instance_server Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_instance_server
+# scaleway_instance_server (Data Source)
-Gets information about an instance server.
-## Example Usage
-```hcl
-# Get info by server name
-data "scaleway_instance_server" "my_key" {
- name = "my-server-name"
-}
-# Get info by server id
-data "scaleway_instance_server" "my_key" {
- server_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - (Optional) The server name. Only one of `name` and `server_id` should be specified.
+### Optional
-- `server_id` - (Optional) The server id. Only one of `name` and `server_id` should be specified.
+- `name` (String) The name of the server
+- `project_id` (String) The project_id you want to attach the resource to
+- `server_id` (String) The ID of the server
+- `zone` (String) The zone you want to attach the resource to
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the server exists.
+### Read-Only
-- `project_id` - (Optional) The ID of the project the instance server is associated with.
+- `additional_volume_ids` (List of String) The additional volumes attached to the server
+- `boot_type` (String) The boot type of the server
+- `bootscript_id` (String) ID of the target bootscript (set boot_type to bootscript)
+- `cloud_init` (String) The cloud init script associated with this server
+- `enable_dynamic_ip` (Boolean) Enable dynamic IP on the server
+- `enable_ipv6` (Boolean) Determines if IPv6 is enabled for the server
+- `id` (String) The ID of this resource.
+- `image` (String) The UUID or the label of the base image used by the server
+- `ip_id` (String) The ID of the reserved IP for the server
+- `ip_ids` (List of String)
+- `ipv6_address` (String) The default public IPv6 address routed to the server.
+- `ipv6_gateway` (String) The IPv6 gateway address
+- `ipv6_prefix_length` (Number) The IPv6 prefix length routed to the server.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `placement_group_id` (String) The placement group the server is attached to
+- `placement_group_policy_respected` (Boolean) True when the placement group policy is respected
+- `private_ip` (String) The Scaleway internal IP address of the server
+- `private_network` (List of Object) List of private network to connect with your instance (see [below for nested schema](#nestedatt--private_network))
+- `public_ip` (String) The public IPv4 address of the server
+- `public_ips` (List of Object) List of public IPs attached to your instance (see [below for nested schema](#nestedatt--public_ips))
+- `replace_on_type_change` (Boolean) Delete and re-create server if type change
+- `root_volume` (List of Object) Root volume attached to the server on creation (see [below for nested schema](#nestedatt--root_volume))
+- `routed_ip_enabled` (Boolean) If server supports routed IPs, default to true if public_ips is used
+- `security_group_id` (String) The security group the server is attached to
+- `state` (String) The state of the server should be: started, stopped, standby
+- `tags` (List of String) The tags associated with the server
+- `type` (String) The instance type of the server
+- `user_data` (Map of String) The user data associated with the server
-## Attributes Reference
+
+### Nested Schema for `private_network`
-In addition to all above arguments, the following attributes are exported:
+Read-Only:
-- `id` - The ID of the server.
+- `mac_address` (String)
+- `pn_id` (String)
+- `status` (String)
+- `zone` (String)
-~> **Important:** Instance servers' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
-- `type` - The commercial type of the server.
-You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
+
+### Nested Schema for `public_ips`
-- `image` - The UUID and the label of the base image used by the server.
+Read-Only:
-- `organization_id` - The ID of the organization the server is associated with.
+- `address` (String)
+- `id` (String)
-- `tags` - The tags associated with the server.
-- `security_group_id` - The [security group](https://developers.scaleway.com/en/products/instance/api/#security-groups-8d7f89) the server is attached to.
+
+### Nested Schema for `root_volume`
-- `placement_group_id` - The [placement group](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) the server is attached to.
+Read-Only:
-- `root_volume` - Root [volume](https://developers.scaleway.com/en/products/instance/api/#volumes-7e8a39) attached to the server on creation.
- - `size_in_gb` - Size of the root volume in gigabytes.
- - `delete_on_termination` - Forces deletion of the root volume on instance termination.
-
-- `additional_volume_ids` - The [additional volumes](https://developers.scaleway.com/en/products/instance/api/#volumes-7e8a39)
-attached to the server.
-
-- `enable_ipv6` - Determines if IPv6 is enabled for the server.
-
-- `enable_dynamic_ip` - True if dynamic IP in enable on the server.
-
-- `routed_ip_enabled` - True if the server support routed ip only.
-
-- `state` - The state of the server. Possible values are: `started`, `stopped` or `standby`.
-
-- `cloud_init` - The cloud init script associated with this server.
-
-- `user_data` - The user data associated with the server.
-
- - `key` - The user data key. The `cloud-init` key is reserved, please use `cloud_init` attribute instead.
-
- - `value` - The user data content.
-
-- `placement_group_policy_respected` - True when the placement group policy is respected.
-
-- `root_volume`
- - `volume_id` - The volume ID of the root volume of the server.
-
-- `private_ip` - The Scaleway internal IP address of the server.
-
-- `public_ip` - The public IP address of the server.
-
-- `public_ips` - The list of public IPs of the server
- - `id` - The ID of the IP
- - `address` - The address of the IP
-
-- `ipv6_address` - The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
-
-- `ipv6_gateway` - The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
-
-- `ipv6_prefix_length` - The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
+- `boot` (Boolean)
+- `delete_on_termination` (Boolean)
+- `name` (String)
+- `size_in_gb` (Number)
+- `volume_id` (String)
+- `volume_type` (String)
diff --git a/docs/data-sources/instance_servers.md b/docs/data-sources/instance_servers.md
index adbd648c6..6fd251098 100644
--- a/docs/data-sources/instance_servers.md
+++ b/docs/data-sources/instance_servers.md
@@ -1,71 +1,66 @@
---
-subcategory: "Instances"
-page_title: "Scaleway: scaleway_instance_servers"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_instance_servers Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_instance_servers
-
-Gets information about multiple instance servers.
+# scaleway_instance_servers (Data Source)
-## Examples
-### Basic
-```hcl
-# Find servers by tag
-data "scaleway_instance_servers" "my_key" {
- tags = ["tag"]
-}
-# Find servers by name and zone
-data "scaleway_instance_servers" "my_key" {
- name = "myserver"
- zone = "fr-par-2"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - (Optional) The server name used as filter. Servers with a name like it are listed.
+### Optional
-- `tags` - (Optional) List of tags used as filter. Servers with these exact tags are listed.
+- `name` (String) Servers with a name like it are listed.
+- `project_id` (String) The project_id you want to attach the resource to
+- `tags` (List of String) Servers with these exact tags are listed.
+- `zone` (String) The zone you want to attach the resource to
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which servers exist.
+### Read-Only
-## Attributes Reference
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `servers` (List of Object) (see [below for nested schema](#nestedatt--servers))
-In addition to all above arguments, the following attributes are exported:
+
+### Nested Schema for `servers`
-- `id` - The zone of the servers
+Read-Only:
-- `servers` - List of found servers
- - `id` - The ID of the server.
+- `boot_type` (String)
+- `bootscript_id` (String)
+- `enable_dynamic_ip` (Boolean)
+- `enable_ipv6` (Boolean)
+- `id` (String)
+- `image` (String)
+- `ipv6_address` (String)
+- `ipv6_gateway` (String)
+- `ipv6_prefix_length` (Number)
+- `name` (String)
+- `organization_id` (String)
+- `placement_group_id` (String)
+- `placement_group_policy_respected` (Boolean)
+- `private_ip` (String)
+- `project_id` (String)
+- `public_ip` (String)
+- `public_ips` (List of Object) (see [below for nested schema](#nestedobjatt--servers--public_ips))
+- `routed_ip_enabled` (Boolean)
+- `security_group_id` (String)
+- `state` (String)
+- `tags` (List of String)
+- `type` (String)
+- `zone` (String)
- ~> **Important:** Instance servers' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
+
+### Nested Schema for `servers.public_ips`
- - `tags` - The tags associated with the server.
- - `public_ip` - The public IP address of the server.
- - `private_ip` - The Scaleway internal IP address of the server.
- - `public_ips` - The list of public IPs of the server
- - `id` - The ID of the IP
- - `address` - The address of the IP
- - `prefix` - The public IP prefix of the server.
- - `state` - The state of the server. Possible values are: `started`, `stopped` or `standby`.
- - `zone` - The [zone](../guides/regions_and_zones.md#zones) in which the server is.
- - `name` - The name of the server.
- - `boot_type` - The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
- - `bootscript_id` - The ID of the bootscript.
- - `type` - The commercial type of the server.
- - `security_group_id` - The [security group](https://developers.scaleway.com/en/products/instance/api/#security-groups-8d7f89) the server is attached to.
- - `enable_ipv6` - Determines if IPv6 is enabled for the server.
- - `ipv6_address` - The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
- - `ipv6_gateway` - The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
- - `ipv6_prefix_length` - The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
- - `routed_ip_enabled` - True if the server support routed ip only.
- - `enable_dynamic_ip` - If true a dynamic IP will be attached to the server.
- - `image` - The UUID or the label of the base image used by the server.
- - `placement_group_id` - The [placement group](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) the server is attached to.
- - `organization_id` - The organization ID the server is associated with.
- - `project_id` - The ID of the project the server is associated with.
-
+Read-Only:
+- `address` (String)
+- `id` (String)
diff --git a/docs/data-sources/instance_snapshot.md b/docs/data-sources/instance_snapshot.md
index e9b0528d3..7fd130aa0 100644
--- a/docs/data-sources/instance_snapshot.md
+++ b/docs/data-sources/instance_snapshot.md
@@ -1,40 +1,42 @@
---
-subcategory: "Instances"
-page_title: "Scaleway: scaleway_instance_snapshot"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_instance_snapshot Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_instance_snapshot
+# scaleway_instance_snapshot (Data Source)
-Gets information about an instance snapshot.
-## Example Usage
-```hcl
-# Get info by snapshot name
-data "scaleway_instance_snapshot" "by_name" {
- name = "my-snapshot-name"
-}
-# Get info by snapshot ID
-data "scaleway_instance_snapshot" "by_id" {
- snapshot_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - (Optional) The snapshot name.
- Only one of `name` and `snapshot_id` should be specified.
+### Optional
-- `snapshot_id` - (Optional) The snapshot id.
- Only one of `name` and `snapshot_id` should be specified.
+- `name` (String) The name of the snapshot
+- `project_id` (String) The project_id you want to attach the resource to
+- `snapshot_id` (String) The ID of the snapshot
+- `zone` (String) The zone you want to attach the resource to
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the snapshot exists.
+### Read-Only
+- `created_at` (String) The date and time of the creation of the snapshot
+- `id` (String) The ID of this resource.
+- `import` (List of Object) Import snapshot from a qcow (see [below for nested schema](#nestedatt--import))
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `size_in_gb` (Number) The size of the snapshot in gigabyte
+- `tags` (List of String) The tags associated with the snapshot
+- `type` (String) The snapshot's volume type
+- `volume_id` (String) ID of the volume to take a snapshot from
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the snapshot is associated with.
+
+### Nested Schema for `import`
-## Attributes Reference
-
-Exported attributes are the ones from `instance_snapshot` [resource](../resources/instance_snapshot.md)
+Read-Only:
+- `bucket` (String)
+- `key` (String)
diff --git a/docs/data-sources/instance_volume.md b/docs/data-sources/instance_volume.md
index 619354896..f936565e0 100644
--- a/docs/data-sources/instance_volume.md
+++ b/docs/data-sources/instance_volume.md
@@ -1,58 +1,33 @@
---
-subcategory: "Instances"
-page_title: "Scaleway: scaleway_instance_volume"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_instance_volume Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_instance_volume
+# scaleway_instance_volume (Data Source)
-Gets information about an instance volume.
-## Example Usage
-```hcl
-# Get info by volume name
-data "scaleway_instance_volume" "my_volume" {
- name = "my-volume-name"
-}
-# Get info by volume ID
-data "scaleway_instance_volume" "my_volume" {
- volume_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - (Optional) The volume name.
- Only one of `name` and `volume_id` should be specified.
+### Optional
-- `volume_id` - (Optional) The volume id.
- Only one of `name` and `volume_id` should be specified.
+- `name` (String) The name of the volume
+- `project_id` (String) The project_id you want to attach the resource to
+- `volume_id` (String) The ID of the volume
+- `zone` (String) The zone you want to attach the resource to
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the volume exists.
+### Read-Only
-- `project_id` - (Optional) The ID of the project the volume is associated with.
-
-## Attributes Reference
-
-In addition to all above arguments, the following attributes are exported:
-
-- `id` - The ID of the volume.
-
-~> **Important:** Instance volumes' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
-
-- `volume_type` - The type of the volume.
- `l_ssd` for local SSD, `b_ssd` for block storage SSD.
-
-- `creation_date` - Volume creation date.
-
-- `modification_date` - Volume last modification date.
-
-- `state` - State of the volume. Possible values are `available`, `snapshotting` and `error`.
- The default value is available.
-
-- `size` - The volumes disk size (in bytes).
-
-- `server` - Information about the server attached to the volume.
-
-- `organization_id` - The ID of the organization the volume is associated with.
+- `from_snapshot_id` (String) Create a volume based on a image
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `server_id` (String) The server associated with this volume
+- `size_in_gb` (Number) The size of the volume in gigabyte
+- `tags` (List of String) The tags associated with the volume
+- `type` (String) The volume type
diff --git a/docs/data-sources/iot_device.md b/docs/data-sources/iot_device.md
index 9ed7b7303..61545bc7a 100644
--- a/docs/data-sources/iot_device.md
+++ b/docs/data-sources/iot_device.md
@@ -1,49 +1,71 @@
---
-subcategory: "IoT Hub"
-page_title: "Scaleway: scaleway_iot_device"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_iot_device Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_iot_device
+# scaleway_iot_device (Data Source)
-Gets information about an IOT Device.
-## Example Usage
-```hcl
-# Get info by name
-data "scaleway_iot_device" "my_device" {
- name = "foobar"
-}
-# Get info by name and hub_id
-data "scaleway_iot_device" "my_device" {
- name = "foobar"
- hub_id = "11111111-1111-1111-1111-111111111111"
-}
-# Get info by device ID
-data "scaleway_iot_device" "my_device" {
- device_id = "11111111-1111-1111-1111-111111111111"
-}
+
+## Schema
-```
+### Optional
-## Argument Reference
+- `device_id` (String) The ID of the IOT Device
+- `hub_id` (String) The ID of the hub on which this device will be created
+- `name` (String) The name of the device
+- `region` (String) The region you want to attach the resource to
-- `name` - (Optional) The name of the Hub.
- Only one of the `name` and `device_id` should be specified.
+### Read-Only
-- `hub_id` - (Optional) The hub ID.
+- `allow_insecure` (Boolean) Allow plain and server-authenticated SSL connections in addition to mutually-authenticated ones
+- `allow_multiple_connections` (Boolean) Allow multiple connections
+- `certificate` (List of Object) Certificate section of the device (see [below for nested schema](#nestedatt--certificate))
+- `created_at` (String) The date and time of the creation of the device
+- `description` (String) The description of the device
+- `id` (String) The ID of this resource.
+- `is_connected` (Boolean) The MQTT connection status of the device
+- `last_activity_at` (String) The date and time of last MQTT activity of the device
+- `message_filters` (List of Object) Rules to authorize or deny the device to publish/subscribe to specific topics (see [below for nested schema](#nestedatt--message_filters))
+- `status` (String) The status of the device
+- `updated_at` (String) The date and time of the last update of the device
-- `device_id` - (Optional) The device ID.
- Only one of the `name` and `device_id` should be specified.
+
+### Nested Schema for `certificate`
-- `region` - (Default to [provider](../index.md) `region`) The [region](../guides/regions_and_zones.md#zones) in which the hub exists.
+Read-Only:
-## Attributes Reference
+- `crt` (String)
+- `key` (String)
-In addition to all arguments above, the following attributes are exported:
-- `id` - The ID of the device.
+
+### Nested Schema for `message_filters`
-~> **Important:** IoT devices' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
+Read-Only:
+
+- `publish` (List of Object) (see [below for nested schema](#nestedobjatt--message_filters--publish))
+- `subscribe` (List of Object) (see [below for nested schema](#nestedobjatt--message_filters--subscribe))
+
+
+### Nested Schema for `message_filters.publish`
+
+Read-Only:
+
+- `policy` (String)
+- `topics` (List of String)
+
+
+
+### Nested Schema for `message_filters.subscribe`
+
+Read-Only:
+
+- `policy` (String)
+- `topics` (List of String)
diff --git a/docs/data-sources/iot_hub.md b/docs/data-sources/iot_hub.md
index 8dbfa0d46..1e5f633d3 100644
--- a/docs/data-sources/iot_hub.md
+++ b/docs/data-sources/iot_hub.md
@@ -1,43 +1,43 @@
---
-subcategory: "IoT Hub"
-page_title: "Scaleway: scaleway_iot_hub"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_iot_hub Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_iot_hub
+# scaleway_iot_hub (Data Source)
-Gets information about an IOT Hub.
-## Example Usage
-```hcl
-# Get info by name
-data "scaleway_iot_hub" "my_hub" {
- name = "foobar"
-}
-# Get info by hub ID
-data "scaleway_iot_hub" "my_hub" {
- hub_id = "11111111-1111-1111-1111-111111111111"
-}
-```
+
+## Schema
-## Argument Reference
+### Optional
-- `name` - (Optional) The name of the Hub.
- Only one of the `name` and `hub_id` should be specified.
+- `hub_id` (String) The ID of the IOT Hub
+- `name` (String) The name of the hub
+- `project_id` (String) The project_id you want to attach the resource to
+- `region` (String) The region you want to attach the resource to
-- `hub_id` - (Optional) The Hub ID.
- Only one of the `name` and `hub_id` should be specified.
+### Read-Only
-- `region` - (Default to [provider](../index.md) `region`) The [region](../guides/regions_and_zones.md#zones) in which the hub exists.
-
-- `project_id` - (Optional) The ID of the project the hub is associated with.
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `id` - The ID of the Hub.
-
-~> **Important:** IoT Hub instances' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
+- `connected_device_count` (Number) The current number of connected devices in the Hub
+- `created_at` (String) The date and time of the creation of the IoT Hub
+- `device_auto_provisioning` (Boolean) Wether to enable the device auto provisioning or not
+- `device_count` (Number) The number of registered devices in the Hub
+- `disable_events` (Boolean) Whether to enable the hub events or not
+- `enabled` (Boolean) Whether to enable the hub or not
+- `endpoint` (String) The endpoint to connect the devices to
+- `events_topic_prefix` (String) Topic prefix for the hub events
+- `hub_ca` (String) Custom user provided certificate authority
+- `hub_ca_challenge` (String) Challenge certificate for the user provided hub CA
+- `id` (String) The ID of this resource.
+- `mqtt_ca` (String) The MQTT certificat content
+- `mqtt_ca_url` (String) The url of the MQTT ca
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `product_plan` (String) The product plan of the hub
+- `status` (String) The status of the hub
+- `updated_at` (String) The date and time of the last update of the IoT Hub
diff --git a/docs/data-sources/ipam_ip.md b/docs/data-sources/ipam_ip.md
index 2b11b922a..514bc2e46 100644
--- a/docs/data-sources/ipam_ip.md
+++ b/docs/data-sources/ipam_ip.md
@@ -1,113 +1,48 @@
---
-subcategory: "IPAM"
-page_title: "Scaleway: scaleway_ipam_ip"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_ipam_ip Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_ipam_ip
+# scaleway_ipam_ip (Data Source)
-Gets information about IP managed by IPAM service. IPAM service is used for dhcp bundled in VPCs' private networks.
-## Examples
-### IPAM IP ID
-```terraform
-# Get info by ipam ip id
-data "scaleway_ipam_ip" "by_id" {
- ipam_ip_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-### Instance Private Network IP
+
+## Schema
-Get Instance IP in a private network.
+### Optional
-```terraform
-# Connect your instance to a private network using a private nic.
-resource "scaleway_instance_private_nic" "nic" {
- server_id = scaleway_instance_server.server.id
- private_network_id = scaleway_vpc_private_network.pn.id
-}
+- `attached` (Boolean) Defines whether to filter only for IPs which are attached to a resource
+- `ipam_ip_id` (String) The ID of the IPAM IP
+- `mac_address` (String) The MAC address to filter for
+- `private_network_id` (String) The private Network to filter for
+- `project_id` (String) The project_id you want to attach the resource to
+- `region` (String) The region you want to attach the resource to
+- `resource` (Block List, Max: 1) (see [below for nested schema](#nestedblock--resource))
+- `tags` (List of String) The tags associated with the IP
+- `type` (String) IP Type (ipv4, ipv6)
+- `zonal` (String) The zone you want to attach the resource to
-# Find server private IPv4 using private-nic mac address
-data "scaleway_ipam_ip" "by_mac" {
- mac_address = scaleway_instance_private_nic.nic.mac_address
- type = "ipv4"
-}
+### Read-Only
-# Find server private IPv4 using private-nic id
-data "scaleway_ipam_ip" "by_id" {
- resource {
- id = scaleway_instance_private_nic.nic.id
- type = "instance_private_nic"
- }
- type = "ipv4"
-}
+- `address` (String) The IP address
+- `address_cidr` (String) The IP address with a CIDR notation
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+
+### Nested Schema for `resource`
-```
+Required:
-### RDB instance
+- `type` (String) Type of resource to filter for
-```terraform
-# Find the private IPv4 using resource name
-resource "scaleway_vpc_private_network" "pn" {}
+Optional:
-resource "scaleway_rdb_instance" "main" {
- name = "test-rdb"
- node_type = "DB-DEV-S"
- engine = "PostgreSQL-15"
- is_ha_cluster = true
- disable_backup = true
- user_name = "my_initial_user"
- password = "thiZ_is_v&ry_s3cret"
- private_network {
- pn_id = scaleway_vpc_private_network.pn.id
- }
-}
-
-data "scaleway_ipam_ip" "by_name" {
- resource {
- name = scaleway_rdb_instance.main.name
- type = "rdb_instance"
- }
- type = "ipv4"
-}
-```
-
-## Argument Reference
-
-- `ipam_ip_id` - (Optional) The IPAM IP ID. Cannot be used with the rest of the arguments.
-
-- `type` - (Optional) The type of IP to search for (ipv4, ipv6). Cannot be used with `ipam_ip_id`.
-
-- `private_network_id` - (Optional) The ID of the private network the IP belong to. Cannot be used with `ipam_ip_id`.
-
-- `resource` - (Optional) Filter by resource ID, type or name. Cannot be used with `ipam_ip_id`.
-If specified, `type` is required, and at least one of `id` or `name` must be set.
- - `id` - The ID of the resource that the IP is bound to.
- - `type` - The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list.
- - `name` - The name of the resource to get the IP from.
-
-- `mac_address` - (Optional) The Mac Address linked to the IP. Cannot be used with `ipam_ip_id`.
-
-- `region` - (Defaults to [provider](../index.md#zone) `region`) The [region](../guides/regions_and_zones.md#regions) in which the IP exists.
-
-- `tags` (Optional) The tags associated with the IP. Cannot be used with `ipam_ip_id`.
- As datasource only returns one IP, the search with given tags must return only one result.
-
-- `zonal` - (Optional) Only IPs that are zonal, and in this zone, will be returned.
-
-- `attached` - (Optional) Defines whether to filter only for IPs which are attached to a resource. Cannot be used with `ipam_ip_id`.
-
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the IP is associated with.
-
-- `organization_id` - (Defaults to [provider](../index.md#organization_id) `organization_id`) The ID of the organization the IP is in.
-
-## Attributes Reference
-
-In addition to all above arguments, the following attributes are exported:
-
-- `id` - The ID of the IP in IPAM.
-- `address` - The IP address.
-- `address_cidr` - the IP address with a CIDR notation.
+- `id` (String) ID of the resource to filter for
+- `name` (String) Name of the resource to filter for
diff --git a/docs/data-sources/ipam_ips.md b/docs/data-sources/ipam_ips.md
index ed541350d..7001c7fa7 100644
--- a/docs/data-sources/ipam_ips.md
+++ b/docs/data-sources/ipam_ips.md
@@ -1,102 +1,72 @@
---
-subcategory: "IPAM"
-page_title: "Scaleway: scaleway_ipam_ips"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_ipam_ips Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_ipam_ips
-
-Gets information about multiple IPs managed by IPAM service.
-
-## Examples
+# scaleway_ipam_ips (Data Source)
-### By tag
-```terraform
-data "scaleway_ipam_ips" "by_tag" {
- tags = ["tag"]
-}
-```
-### By type and resource
-```terraform
-resource "scaleway_vpc" "vpc01" {
- name = "my vpc"
-}
-resource "scaleway_vpc_private_network" "pn01" {
- vpc_id = scaleway_vpc.vpc01.id
- ipv4_subnet {
- subnet = "172.16.32.0/22"
- }
-}
+
+## Schema
-resource "scaleway_redis_cluster" "redis01" {
- name = "my_redis_cluster"
- version = "7.0.5"
- node_type = "RED1-XS"
- user_name = "my_initial_user"
- password = "thiZ_is_v&ry_s3cret"
- cluster_size = 3
- private_network {
- id = scaleway_vpc_private_network.pn01.id
- }
-}
+### Optional
-data "scaleway_ipam_ips" "by_type_and_resource" {
- type = "ipv4"
- resource {
- id = scaleway_redis_cluster.redis01.id
- type = "redis_cluster"
- }
-}
-```
+- `attached` (Boolean) Defines whether to filter only for IPs which are attached to a resource
+- `mac_address` (String) The MAC address to filter for
+- `private_network_id` (String) The private Network to filter for
+- `project_id` (String) The project_id you want to attach the resource to
+- `region` (String) The region you want to attach the resource to
+- `resource` (Block List, Max: 1) The IP resource to filter for (see [below for nested schema](#nestedblock--resource))
+- `tags` (List of String) The tags associated with the IP to filter for
+- `type` (String) IP Type (ipv4, ipv6) to filter for
+- `zonal` (String) The zone you want to attach the resource to
-## Argument Reference
+### Read-Only
-- `type` - (Optional) The type of IP used as filter (ipv4, ipv6).
+- `id` (String) The ID of this resource.
+- `ips` (List of Object) (see [below for nested schema](#nestedatt--ips))
+- `organization_id` (String) The organization_id you want to attach the resource to
-- `private_network_id` - (Optional) The ID of the private network used as filter.
+
+### Nested Schema for `resource`
-- `resource` - (Optional) Filter by resource ID, type or name.
- - `id` - The ID of the resource that the IP is bound to.
- - `type` - The type of the resource to get the IP from. [Documentation](https://pkg.go.dev/github.com/scaleway/scaleway-sdk-go@master/api/ipam/v1#pkg-constants) with type list.
- - `name` - The name of the resource to get the IP from.
+Required:
-- `mac_address` - (Optional) The Mac Address used as filter.
+- `type` (String) Type of resource to filter for
-- `tags` (Optional) The tags used as filter.
+Optional:
-- `attached` - (Optional) Defines whether to filter only for IPs which are attached to a resource.
+- `id` (String) ID of the resource to filter for
+- `name` (String) Name of the resource to filter for
-- `zonal` - (Optional) Only IPs that are zonal, and in this zone, will be returned.
-- `region` - (Optional) The region used as filter.
+
+### Nested Schema for `ips`
-- `project_id` - (Optional) The ID of the project used as filter.
+Read-Only:
-- `organization_id` - (Optional) The ID of the organization used as filter.
+- `address` (String)
+- `created_at` (String)
+- `id` (String)
+- `project_id` (String)
+- `region` (String)
+- `resource` (List of Object) (see [below for nested schema](#nestedobjatt--ips--resource))
+- `tags` (List of String)
+- `updated_at` (String)
+- `zone` (String)
-## Attributes Reference
+
+### Nested Schema for `ips.resource`
-In addition to all above arguments, the following attributes are exported:
+Read-Only:
-- `id` - The region of the IPS
-- `ips` - List of found IPs
- - `id` - The ID of the IP.
-
- ~> **Important:** IPAM IPs' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
-
- - `address` - The Scaleway internal IP address of the server.
- - `resource` - The list of public IPs of the server.
- - `id` - The ID of the resource.
- - `type` - The type of resource.
- - `mac_address` - The mac address.
- - `name` - The name of the resource.
- - `tags` - The tags associated with the IP.
- - `created_at` - The date and time of the creation of the IP.
- - `updated_at` - The date and time of the last update of the IP.
- - `zone` - The [zone](../guides/regions_and_zones.md#zones) in which the IP is.
- - `region` - The [region](../guides/regions_and_zones.md#regions) in which the IP is.
- - `project_id` - The ID of the project the server is associated with.
-
+- `id` (String)
+- `mac_address` (String)
+- `name` (String)
+- `type` (String)
diff --git a/docs/data-sources/k8s_cluster.md b/docs/data-sources/k8s_cluster.md
index ee51745f2..b2c941b7a 100644
--- a/docs/data-sources/k8s_cluster.md
+++ b/docs/data-sources/k8s_cluster.md
@@ -1,108 +1,98 @@
---
-subcategory: "Kubernetes"
-page_title: "Scaleway: scaleway_k8s_cluster"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_k8s_cluster Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_k8s_cluster
+# scaleway_k8s_cluster (Data Source)
-Gets information about a Kubernetes Cluster.
-## Example Usage
-```hcl
-# Get info by cluster name
-data "scaleway_k8s_cluster" "my_key" {
- name = "my-cluster-name"
-}
-# Get info by cluster id
-data "scaleway_k8s_cluster" "my_key" {
- cluster_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - (Optional) The cluster name. Only one of `name` and `cluster_id` should be specified.
+### Optional
-- `cluster_id` - (Optional) The cluster ID. Only one of `name` and `cluster_id` should be specified.
+- `cluster_id` (String) The ID of the cluster
+- `name` (String) The name of the cluster
+- `project_id` (String) The project_id you want to attach the resource to
+- `region` (String) The region you want to attach the resource to
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the cluster exists.
+### Read-Only
-- `project_id` - (Optional) The ID of the project the cluster is associated with.
+- `admission_plugins` (List of String) The list of admission plugins to enable on the cluster
+- `apiserver_cert_sans` (List of String) Additional Subject Alternative Names for the Kubernetes API server certificate
+- `apiserver_url` (String) Kubernetes API server URL
+- `auto_upgrade` (List of Object) The auto upgrade configuration for the cluster (see [below for nested schema](#nestedatt--auto_upgrade))
+- `autoscaler_config` (List of Object) The autoscaler configuration for the cluster (see [below for nested schema](#nestedatt--autoscaler_config))
+- `cni` (String) The CNI plugin of the cluster
+- `created_at` (String) The date and time of the creation of the Kubernetes cluster
+- `description` (String) The description of the cluster
+- `feature_gates` (List of String) The list of feature gates to enable on the cluster
+- `id` (String) The ID of this resource.
+- `kubeconfig` (List of Object) The kubeconfig configuration file of the Kubernetes cluster (see [below for nested schema](#nestedatt--kubeconfig))
+- `open_id_connect_config` (List of Object) The OpenID Connect configuration of the cluster (see [below for nested schema](#nestedatt--open_id_connect_config))
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `private_network_id` (String) The ID of the cluster's private network
+- `status` (String) The status of the cluster
+- `tags` (List of String) The tags associated with the cluster
+- `type` (String) The type of cluster
+- `updated_at` (String) The date and time of the last update of the Kubernetes cluster
+- `upgrade_available` (Boolean) True if an upgrade is available
+- `version` (String) The version of the cluster
+- `wildcard_dns` (String) Wildcard DNS pointing to all the ready nodes
-## Attributes Reference
+
+### Nested Schema for `auto_upgrade`
-In addition to all above arguments, the following attributes are exported:
+Read-Only:
-- `id` - The ID of the cluster.
+- `enable` (Boolean)
+- `maintenance_window_day` (String)
+- `maintenance_window_start_hour` (Number)
-~> **Important:** Kubernetes clusters' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
-- `created_at` - The creation date of the cluster.
+
+### Nested Schema for `autoscaler_config`
-- `updated_at` - The last update date of the cluster.
+Read-Only:
-- `apiserver_url` - The URL of the Kubernetes API server.
+- `balance_similar_node_groups` (Boolean)
+- `disable_scale_down` (Boolean)
+- `estimator` (String)
+- `expander` (String)
+- `expendable_pods_priority_cutoff` (Number)
+- `ignore_daemonsets_utilization` (Boolean)
+- `max_graceful_termination_sec` (Number)
+- `scale_down_delay_after_add` (String)
+- `scale_down_unneeded_time` (String)
+- `scale_down_utilization_threshold` (Number)
-- `wildcard_dns` - The DNS wildcard that points to all ready nodes.
-- `kubeconfig`
+
+### Nested Schema for `kubeconfig`
- - `config_file` - The raw kubeconfig file.
+Read-Only:
- - `host` - The URL of the Kubernetes API server.
+- `cluster_ca_certificate` (String)
+- `config_file` (String)
+- `host` (String)
+- `token` (String)
- - `cluster_ca_certificate` - The CA certificate of the Kubernetes API server.
- - `token` - The token to connect to the Kubernetes API server.
+
+### Nested Schema for `open_id_connect_config`
-- `status` - The status of the Kubernetes cluster.
+Read-Only:
-- `type` - The type of the Kubernetes cluster.
-
-- `upgrade_available` - True if a newer Kubernetes version is available.
-
-- `description` - A description for the Kubernetes cluster.
-
-- `version` - The version of the Kubernetes cluster.
-
-- `cni` - The Container Network Interface (CNI) for the Kubernetes cluster.
-
-- `tags` - The tags associated with the Kubernetes cluster.
-
-- `autoscaler_config` - The configuration options for the [Kubernetes cluster autoscaler](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler).
-
- - `disable_scale_down` - True if the scale down feature of the autoscaler is disabled.
-
- - `scale_down_delay_after_add` - The duration after scale up that scale down evaluation resumes.
-
- - `scale_down_unneeded_time` - The duration a node should be unneeded before it is eligible for scale down.
-
- - `estimator` - The type of resource estimator used in scale up.
-
- - `expander` - The type of node group expander be used in scale up.
-
- - `ignore_daemonsets_utilization` - True if ignoring DaemonSet pods when calculating resource utilization for scaling down is enabled.
-
- - `balance_similar_node_groups` - True if detecting similar node groups and balance the number of nodes between them is enabled.
-
- - `expendable_pods_priority_cutoff` - Pods with priority below cutoff will be expendable. They can be killed without any consideration during scale down and they don't cause scale up. Pods with null priority (PodPriority disabled) are non expendable.
-
-- `auto_upgrade` - The auto upgrade configuration.
-
- - `enable` - True if Kubernetes patch version auto upgrades is enabled.
-
- - `maintenance_window_start_hour` - The start hour (UTC) of the 2-hour auto upgrade maintenance window (0 to 23).
-
- - `maintenance_window_day` - The day of the auto upgrade maintenance window (`monday` to `sunday`, or `any`).
-
-- `feature_gates` - The list of [feature gates](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/) enabled on the cluster.
-
-- `admission_plugins` - The list of [admission plugins](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/) enabled on the cluster.
-
-- `private_network_id` - The ID of the private network of the cluster.
-
-- `region` - The [region](../guides/regions_and_zones.md#regions) in which the cluster is.
-
-- `organization_id` - The ID of the organization the cluster is associated with.
+- `client_id` (String)
+- `groups_claim` (List of String)
+- `groups_prefix` (String)
+- `issuer_url` (String)
+- `required_claim` (List of String)
+- `username_claim` (String)
+- `username_prefix` (String)
diff --git a/docs/data-sources/k8s_pool.md b/docs/data-sources/k8s_pool.md
index 58494db0f..bc1e31c2f 100644
--- a/docs/data-sources/k8s_pool.md
+++ b/docs/data-sources/k8s_pool.md
@@ -1,79 +1,68 @@
---
-subcategory: "Kubernetes"
-page_title: "Scaleway: scaleway_k8s_pool"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_k8s_pool Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_k8s_pool
+# scaleway_k8s_pool (Data Source)
-Gets information about a Kubernetes Cluster's Pool.
-## Example Usage
-```hcl
-# Get info by pokl name (need cluster_id)
-data "scaleway_k8s_pool" "my_key" {
- name = "my-pool-name"
- cluster_id = "11111111-1111-1111-1111-111111111111"
-}
-# Get info by pool id
-data "scaleway_k8s_pool" "my_key" {
- pool_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - The pool name. Only one of `name` and `pool_id` should be specified. `cluster_id` should be specified with `name`.
+### Optional
-- `pool_id` - (Optional) The pool's ID. Only one of `name` and `pool_id` should be specified.
+- `cluster_id` (String) The ID of the cluster on which this pool will be created
+- `name` (String) The name of the cluster
+- `pool_id` (String) The ID of the pool
+- `region` (String) The region you want to attach the resource to
+- `size` (Number) Size of the pool
-- `cluster_id` - (Optional) The cluster ID. Required when `name` is set.
+### Read-Only
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the pool exists.
+- `autohealing` (Boolean) Enable the autohealing on the pool
+- `autoscaling` (Boolean) Enable the autoscaling on the pool
+- `container_runtime` (String) Container runtime for the pool
+- `created_at` (String) The date and time of the creation of the pool
+- `current_size` (Number) The actual size of the pool
+- `id` (String) The ID of this resource.
+- `kubelet_args` (Map of String) The Kubelet arguments to be used by this pool
+- `max_size` (Number) Maximum size of the pool
+- `min_size` (Number) Minimum size of the pool
+- `node_type` (String) Server type of the pool servers
+- `nodes` (List of Object) (see [below for nested schema](#nestedatt--nodes))
+- `placement_group_id` (String) ID of the placement group
+- `public_ip_disabled` (Boolean) Defines if the public IP should be removed from the nodes.
+- `root_volume_size_in_gb` (Number) The size of the system volume of the nodes in gigabyte
+- `root_volume_type` (String) System volume type of the nodes composing the pool
+- `status` (String) The status of the pool
+- `tags` (List of String) The tags associated with the pool
+- `updated_at` (String) The date and time of the last update of the pool
+- `upgrade_policy` (List of Object) The Pool upgrade policy (see [below for nested schema](#nestedatt--upgrade_policy))
+- `version` (String) The Kubernetes version of the pool
+- `wait_for_pool_ready` (Boolean) Whether to wait for the pool to be ready
+- `zone` (String) The zone you want to attach the resource to
-## Attributes Reference
+
+### Nested Schema for `nodes`
-In addition to all above arguments, the following attributes are exported:
+Read-Only:
-- `id` - The ID of the pool.
+- `name` (String)
+- `public_ip` (String)
+- `public_ip_v6` (String)
+- `status` (String)
-~> **Important:** Kubernetes clusters pools' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
-- `status` - The status of the pool.
+
+### Nested Schema for `upgrade_policy`
-- `nodes` - (List of) The nodes in the default pool.
+Read-Only:
- - `name` - The name of the node.
-
- - `public_ip` - The public IPv4.
-
- - `public_ip_v6` - The public IPv6.
-
- - `status` - The status of the node.
-
-- `created_at` - The creation date of the pool.
-
-- `updated_at` - The last update date of the pool.
-
-- `version` - The version of the pool.
-
-- `current_size` - The size of the pool at the time the terraform state was updated.
-
-- `node_type` - The commercial type of the pool instances.
-
-- `size` - The size of the pool.
-
-- `min_size` - The minimum size of the pool, used by the autoscaling feature.
-
-- `max_size` - The maximum size of the pool, used by the autoscaling feature.
-
-- `tags` - The tags associated with the pool.
-
-- `placement_group_id` - [placement group](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) the nodes of the pool are attached to.
-
-- `autoscaling` - True if the autoscaling feature is enabled for this pool.
-
-- `autohealing` - True if the autohealing feature is enabled for this pool.
-
-- `container_runtime` - The container runtime of the pool.
+- `max_surge` (Number)
+- `max_unavailable` (Number)
diff --git a/docs/data-sources/k8s_version.md b/docs/data-sources/k8s_version.md
index 7a9b73aa2..07f7e4f0c 100644
--- a/docs/data-sources/k8s_version.md
+++ b/docs/data-sources/k8s_version.md
@@ -1,46 +1,31 @@
---
-subcategory: "Kubernetes"
-page_title: "Scaleway: scaleway_k8s_version"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_k8s_version Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_k8s_version
+# scaleway_k8s_version (Data Source)
-Gets information about a Kubernetes version.
-For more information, see [the documentation](https://developers.scaleway.com/en/products/k8s/api).
-You can also use the [scaleway-cli](https://github.com/scaleway/scaleway-cli) with `scw k8s version list` to list all available versions.
-## Example Usage
-### Use the latest version
-```hcl
-data "scaleway_k8s_version" "latest" {
- name = "latest"
-}
-```
+
+## Schema
-### Use a specific version
+### Required
-```hcl
-data "scaleway_k8s_version" "by_name" {
- name = "1.26.0"
-}
-```
+- `name` (String) Name of the Kubernetes version
-## Argument Reference
+### Optional
-- `name` - (Required) The name of the Kubernetes version.
-- `region` - (Defaults to [provider](../index.md) `region`) The [region](../guides/regions_and_zones.md#regions) in which the version exists.
+- `region` (String) The region you want to attach the resource to
-## Attributes Reference
+### Read-Only
-In addition to all above arguments, the following attributes are exported:
-
-- `id` - The ID of the version.
-
-~> **Important:** Kubernetes versions' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{name}`, e.g. `fr-par/1.1.1`
-
-- `available_cnis` - The list of supported Container Network Interface (CNI) plugins for this version.
-- `available_container_runtimes` - The list of supported container runtimes for this version.
-- `available_feature_gates` - The list of supported feature gates for this version.
\ No newline at end of file
+- `available_cnis` (List of String) The list of supported Container Network Interface (CNI) plugins for this version
+- `available_container_runtimes` (List of String) The list of supported container runtimes for this version
+- `available_feature_gates` (List of String) The list of supported feature gates for this version
+- `id` (String) The ID of this resource.
diff --git a/docs/data-sources/lb.md b/docs/data-sources/lb.md
index 78b4f62d1..e282b3a11 100644
--- a/docs/data-sources/lb.md
+++ b/docs/data-sources/lb.md
@@ -1,46 +1,49 @@
---
-subcategory: "Load Balancers"
-page_title: "Scaleway: scaleway_lb"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_lb Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_lb
+# scaleway_lb (Data Source)
-Gets information about a Load Balancer.
-## Example Usage
-```hcl
-# Get info by name
-data "scaleway_lb" "by_name" {
- name = "foobar"
-}
-# Get info by ID
-data "scaleway_lb" "by_id" {
- lb_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - (Optional) The load balancer name.
+### Optional
-- `ip_id` - (Optional) The load balancer IP ID.
+- `lb_id` (String) The ID of the load-balancer
+- `name` (String) Name of the lb
+- `project_id` (String) The project_id you want to attach the resource to
+- `release_ip` (Boolean) Release the IPs related to this load-balancer
+- `zone` (String) The zone you want to attach the resource to
-- `project_id` - (Optional) The ID of the project the LB is associated with.
+### Read-Only
-## Attributes Reference
+- `assign_flexible_ip` (Boolean) Defines whether to automatically assign a flexible public IP to the load balancer
+- `description` (String) The description of the lb
+- `id` (String) The ID of this resource.
+- `ip_address` (String) The load-balance public IP address
+- `ip_id` (String) The load-balance public IP ID
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `private_network` (Set of Object) List of private network to connect with your load balancer (see [below for nested schema](#nestedatt--private_network))
+- `region` (String) The region of the resource
+- `ssl_compatibility_level` (String) Enforces minimal SSL version (in SSL/TLS offloading context)
+- `tags` (List of String) Array of tags to associate with the load-balancer
+- `type` (String) The type of load-balancer you want to create
-In addition to all arguments above, the following attributes are exported:
+
+### Nested Schema for `private_network`
-- `id` - The ID of the load-balancer.
+Read-Only:
-~> **Important:** Load-Balancers' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
-
-- `ip_address` - The load-balancer public IP Address.
-
-- `type` - The type of the load-balancer.
-
-- `tags` - The tags associated with the load-balancer.
-
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the LB exists.
\ No newline at end of file
+- `dhcp_config` (Boolean)
+- `private_network_id` (String)
+- `static_config` (List of String)
+- `status` (String)
+- `zone` (String)
diff --git a/docs/data-sources/lb_acls.md b/docs/data-sources/lb_acls.md
index a5ed78899..aee47a08e 100644
--- a/docs/data-sources/lb_acls.md
+++ b/docs/data-sources/lb_acls.md
@@ -1,55 +1,77 @@
---
-subcategory: "Load Balancers"
-page_title: "Scaleway: scaleway_lb_acls"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_lb_acls Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_lb_acls
-
-Gets information about multiple Load Balancer ACLs.
-
-## Example Usage
-
-```hcl
-# Find acls that share the same frontend ID
-data "scaleway_lb_acls" "byFrontID" {
- frontend_id = "${scaleway_lb_frontend.frt01.id}"
-}
-# Find acls by frontend ID and name
-data "scaleway_lb_acls" "byFrontID_and_name" {
- frontend_id = "${scaleway_lb_frontend.frt01.id}"
- name = "tf-acls-datasource"
-}
-```
-
-## Argument Reference
-
-- `frontend_id` - (Required) The frontend ID this ACL is attached to. ACLs with a frontend ID like it are listed.
- ~> **Important:** LB Frontends' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
-
-- `name` - (Optional) The ACL name used as filter. ACLs with a name like it are listed.
-
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which ACLs exist.
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `acls` - List of found ACLs
- - `id` - The associated ACL ID.
- ~> **Important:** LB ACLs' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
- - `created_at` - The date at which the ACL was created (RFC 3339 format).
- - `update_at` - The date at which the ACL was last updated (RFC 3339 format).
- - `index` - The order between the ACLs.
- - `description` - The description of the ACL resource.
- - `action` - The action that has been undertaken when an ACL filter had matched.
- - `type` - The action type.
- - `redirect` - Redirect parameters when using an ACL with `redirect` action.
- - `type` - The redirect type.
- - `target` - The URL used in case of a location redirect or the scheme name that replaces the request's original scheme.
- - `code` - The HTTP redirect code used.
- - `match` - The ACL match rule.
- - `ip_subnet` - A list of matched IPs or CIDR v4/v6 addresses of the client of the session.
- - `http_filter` - The matched HTTP filter.
- - `http_filter_value` - The possible values matched for a given HTTP filter.
- - `http_filter_option` - A list of possible values for the HTTP filter based on the HTTP header.
- - `invert` - The condition will be of type "unless" if invert is set to `true`
\ No newline at end of file
+# scaleway_lb_acls (Data Source)
+
+
+
+
+
+
+## Schema
+
+### Required
+
+- `frontend_id` (String) ACLs with a frontend id like it are listed.
+
+### Optional
+
+- `name` (String) ACLs with a name like it are listed.
+- `project_id` (String) The project_id you want to attach the resource to
+- `zone` (String) The zone you want to attach the resource to
+
+### Read-Only
+
+- `acls` (List of Object) (see [below for nested schema](#nestedatt--acls))
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+
+
+### Nested Schema for `acls`
+
+Read-Only:
+
+- `action` (List of Object) (see [below for nested schema](#nestedobjatt--acls--action))
+- `created_at` (String)
+- `description` (String)
+- `frontend_id` (String)
+- `id` (String)
+- `index` (Number)
+- `match` (List of Object) (see [below for nested schema](#nestedobjatt--acls--match))
+- `name` (String)
+- `update_at` (String)
+
+
+### Nested Schema for `acls.action`
+
+Read-Only:
+
+- `redirect` (List of Object) (see [below for nested schema](#nestedobjatt--acls--action--redirect))
+- `type` (String)
+
+
+### Nested Schema for `acls.action.redirect`
+
+Read-Only:
+
+- `code` (Number)
+- `target` (String)
+- `type` (String)
+
+
+
+
+### Nested Schema for `acls.match`
+
+Read-Only:
+
+- `http_filter` (String)
+- `http_filter_option` (String)
+- `http_filter_value` (List of String)
+- `invert` (Boolean)
+- `ip_subnet` (List of String)
diff --git a/docs/data-sources/lb_backend.md b/docs/data-sources/lb_backend.md
index a431ec015..d8816166a 100644
--- a/docs/data-sources/lb_backend.md
+++ b/docs/data-sources/lb_backend.md
@@ -1,54 +1,85 @@
---
-subcategory: "Load Balancers"
-page_title: "Scaleway: scaleway_lb_backend"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_lb_backend Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_lb_backend
+# scaleway_lb_backend (Data Source)
-Get information about Scaleway Load-Balancer Backends.
-For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends).
-## Example Usage
-```hcl
-resource "scaleway_lb_ip" "main" {
-}
-resource "scaleway_lb" "main" {
- ip_id = scaleway_lb_ip.main.id
- name = "data-test-lb-backend"
- type = "LB-S"
-}
-resource "scaleway_lb_backend" "main" {
- lb_id = scaleway_lb.main.id
- name = "backend01"
- forward_protocol = "http"
- forward_port = "80"
-}
+
+## Schema
-data "scaleway_lb_backend" "byID" {
- backend_id = scaleway_lb_backend.main.id
-}
+### Optional
-data "scaleway_lb_backend" "byName" {
- name = scaleway_lb_backend.main.name
- lb_id = scaleway_lb.main.id
-}
-```
+- `backend_id` (String) The ID of the backend
+- `lb_id` (String) The load-balancer ID
+- `name` (String) The name of the backend
-## Arguments Reference
+### Read-Only
-The following arguments are supported:
+- `failover_host` (String) Scaleway S3 bucket website to be served in case all backend servers are down
-- `backend_id` - (Optional) The backend id.
- - Only one of `name` and `backend_id` should be specified.
+**NOTE** : Only the host part of the Scaleway S3 bucket website is expected.
+E.g. 'failover-website.s3-website.fr-par.scw.cloud' if your bucket website URL is 'https://failover-website.s3-website.fr-par.scw.cloud/'.
+- `forward_port` (Number) User sessions will be forwarded to this port of backend servers
+- `forward_port_algorithm` (String) Load balancing algorithm
+- `forward_protocol` (String) Backend protocol
+- `health_check_delay` (String) Interval between two HC requests
+- `health_check_http` (List of Object) (see [below for nested schema](#nestedatt--health_check_http))
+- `health_check_https` (List of Object) (see [below for nested schema](#nestedatt--health_check_https))
+- `health_check_max_retries` (Number) Number of allowed failed HC requests before the backend server is marked down
+- `health_check_port` (Number) Port the HC requests will be send to. Default to `forward_port`
+- `health_check_send_proxy` (Boolean) Defines whether proxy protocol should be activated for the health check
+- `health_check_tcp` (List of Object) (see [below for nested schema](#nestedatt--health_check_tcp))
+- `health_check_timeout` (String) Timeout before we consider a HC request failed
+- `health_check_transient_delay` (String) Time to wait between two consecutive health checks when a backend server is in a transient state (going UP or DOWN)
+- `id` (String) The ID of this resource.
+- `ignore_ssl_server_verify` (Boolean) Specifies whether the Load Balancer should check the backend server’s certificate before initiating a connection
+- `max_connections` (Number) Maximum number of connections allowed per backend server
+- `max_retries` (Number) Number of retries when a backend server connection failed
+- `on_marked_down_action` (String) Modify what occurs when a backend server is marked down
+- `proxy_protocol` (String) Type of PROXY protocol to enable
+- `redispatch_attempt_count` (Number) Whether to use another backend server on each attempt
+- `send_proxy_v2` (Boolean) Enables PROXY protocol version 2
+- `server_ips` (List of String) Backend server IP addresses list (IPv4 or IPv6)
+- `ssl_bridging` (Boolean) Enables SSL between load balancer and backend servers
+- `sticky_sessions` (String) The type of sticky sessions
+- `sticky_sessions_cookie_name` (String) Cookie name for sticky sessions
+- `timeout_connect` (String) Maximum initial server connection establishment time
+- `timeout_queue` (String) Maximum time (in seconds) for a request to be left pending in queue when `max_connections` is reached
+- `timeout_server` (String) Maximum server connection inactivity time
+- `timeout_tunnel` (String) Maximum tunnel inactivity time
-- `name` - (Optional) The name of the backend.
- - When using the `name` you should specify the `lb-id`
+
+### Nested Schema for `health_check_http`
-- `lb_id` - (Required) The load-balancer ID this backend is attached to.
+Read-Only:
-## Attributes Reference
+- `code` (Number)
+- `host_header` (String)
+- `method` (String)
+- `uri` (String)
-See the [LB Backend Resource](../resources/lb_backend.md) for details on the returned attributes - they are identical.
\ No newline at end of file
+
+
+### Nested Schema for `health_check_https`
+
+Read-Only:
+
+- `code` (Number)
+- `host_header` (String)
+- `method` (String)
+- `sni` (String)
+- `uri` (String)
+
+
+
+### Nested Schema for `health_check_tcp`
+
+Read-Only:
diff --git a/docs/data-sources/lb_backends.md b/docs/data-sources/lb_backends.md
index 421c1328c..eafe145e4 100644
--- a/docs/data-sources/lb_backends.md
+++ b/docs/data-sources/lb_backends.md
@@ -1,69 +1,92 @@
---
-subcategory: "Load Balancers"
-page_title: "Scaleway: scaleway_lb_backends"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_lb_backends Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_lb_backends
-
-Gets information about multiple Load Balancer Backends.
-
-## Example Usage
-
-```hcl
-# Find backends that share the same LB ID
-data "scaleway_lb_backends" "byLBID" {
- lb_id = "${scaleway_lb.lb01.id}"
-}
-# Find backends by LB ID and name
-data "scaleway_lb_backends" "byLBID_and_name" {
- lb_id = "${scaleway_lb.lb01.id}"
- name = "tf-backend-datasource"
-}
-```
-
-## Argument Reference
-
-- `lb_id` - (Required) The load-balancer ID this backend is attached to. backends with a LB ID like it are listed.
-
-- `name` - (Optional) The backend name used as filter. Backends with a name like it are listed.
-
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which backends exist.
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `backends` - List of found backends
- - `id` - The associated backend ID.
- - `forward_protocol` - Backend protocol.
- - `created_at` - The date at which the backend was created (RFC 3339 format).
- - `update_at` - The date at which the backend was last updated (RFC 3339 format).
- - `forward_port` - User sessions will be forwarded to this port of backend servers.
- - `forward_port_algorithm` - Load balancing algorithm.
- - `sticky_sessions` - Enables cookie-based session persistence.
- - `sticky_sessions_cookie_name` - Cookie name for sticky sessions.
- - `server_ips` - List of backend server IP addresses.
- - `proxy_protocol` - The type of PROXY protocol.
- - `timeout_server` - Maximum server connection inactivity time.
- - `timeout_connect` - Maximum initial server connection establishment time.
- - `timeout_tunnel` - Maximum tunnel inactivity time.
- - `failover_host` - Scaleway S3 bucket website to be served in case all backend servers are down.
- - `ssl_bridging` - Enables SSL between load balancer and backend servers.
- - `ignore_ssl_server_verify` - Specifies whether the Load Balancer should check the backend server’s certificate before initiating a connection.
- - `health_check_timeout` - Timeout before we consider a HC request failed.
- - `health_check_delay` - Interval between two HC requests.
- - `health_check_port` - Port the HC requests will be sent to.
- - `health_check_max_retries` - Number of allowed failed HC requests before the backend server is marked down.
- - `health_check_tcp` - This block enable TCP health check.
- - `health_check_http` - This block enable HTTP health check.
- - `uri` - The HTTP endpoint URL to call for HC requests.
- - `method` - The HTTP method to use for HC requests.
- - `code` - The expected HTTP status code.
- - `host_header` - The HTTP host header to use for HC requests.
- - `health_check_https` - This block enable HTTPS health check.
- - `uri` - The HTTPS endpoint URL to call for HC requests.
- - `method` - The HTTP method to use for HC requests.
- - `code` - The expected HTTP status code.
- - `host_header` - The HTTP host header to use for HC requests.
- - `sni` - The SNI to use for HC requests over SSL.
- - `on_marked_down_action` - Modify what occurs when a backend server is marked down.
+# scaleway_lb_backends (Data Source)
+
+
+
+
+
+
+## Schema
+
+### Required
+
+- `lb_id` (String) backends with a lb id like it are listed.
+
+### Optional
+
+- `name` (String) Backends with a name like it are listed.
+- `project_id` (String) The project_id you want to attach the resource to
+- `zone` (String) The zone you want to attach the resource to
+
+### Read-Only
+
+- `backends` (List of Object) (see [below for nested schema](#nestedatt--backends))
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+
+
+### Nested Schema for `backends`
+
+Read-Only:
+
+- `created_at` (String)
+- `failover_host` (String)
+- `forward_port` (Number)
+- `forward_port_algorithm` (String)
+- `forward_protocol` (String)
+- `health_check_delay` (String)
+- `health_check_http` (List of Object) (see [below for nested schema](#nestedobjatt--backends--health_check_http))
+- `health_check_https` (List of Object) (see [below for nested schema](#nestedobjatt--backends--health_check_https))
+- `health_check_max_retries` (Number)
+- `health_check_port` (Number)
+- `health_check_tcp` (List of Object) (see [below for nested schema](#nestedobjatt--backends--health_check_tcp))
+- `health_check_timeout` (String)
+- `id` (String)
+- `ignore_ssl_server_verify` (Boolean)
+- `lb_id` (String)
+- `name` (String)
+- `on_marked_down_action` (String)
+- `proxy_protocol` (String)
+- `server_ips` (List of String)
+- `ssl_bridging` (Boolean)
+- `sticky_sessions` (String)
+- `sticky_sessions_cookie_name` (String)
+- `timeout_connect` (String)
+- `timeout_server` (String)
+- `timeout_tunnel` (String)
+- `update_at` (String)
+
+
+### Nested Schema for `backends.health_check_http`
+
+Read-Only:
+
+- `code` (Number)
+- `host_header` (String)
+- `method` (String)
+- `uri` (String)
+
+
+
+### Nested Schema for `backends.health_check_https`
+
+Read-Only:
+
+- `code` (Number)
+- `host_header` (String)
+- `method` (String)
+- `sni` (String)
+- `uri` (String)
+
+
+
+### Nested Schema for `backends.health_check_tcp`
+
+Read-Only:
diff --git a/docs/data-sources/lb_certificate.md b/docs/data-sources/lb_certificate.md
index 65865938f..8cbdcaf2f 100644
--- a/docs/data-sources/lb_certificate.md
+++ b/docs/data-sources/lb_certificate.md
@@ -1,60 +1,50 @@
---
-subcategory: "Load Balancers"
-page_title: "Scaleway: scaleway_lb_certificate"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_lb_certificate Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_lb_certificate
+# scaleway_lb_certificate (Data Source)
-Get information about Scaleway Load-Balancer Certificates.
-This data source can prove useful when a module accepts an LB Certificate as an input variable and needs to, for example, determine the security of a certificate for your LB Frontend associated with your domain, etc.
-For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate).
-## Examples
-### Let's Encrypt
+
+## Schema
-```hcl
-resource scaleway_lb_ip main {
-}
+### Optional
-resource scaleway_lb main {
- ip_id = scaleway_lb_ip.main.id
- name = "data-test-lb-cert"
- type = "LB-S"
-}
+- `certificate_id` (String) The ID of the certificate
+- `lb_id` (String) The load-balancer ID
+- `name` (String) The name of the load-balancer certificate
-resource scaleway_lb_certificate main {
- lb_id = scaleway_lb.main.id
- name = "data-test-lb-cert"
- letsencrypt {
- common_name = "${replace(scaleway_lb.main.ip_address, ".", "-")}.lb.${scaleway_lb.main.region}.scw.cloud"
- }
-}
+### Read-Only
-data "scaleway_lb_certificate" "byID" {
- certificate_id = "${scaleway_lb_certificate.main.id}"
-}
+- `common_name` (String) The main domain name of the certificate
+- `custom_certificate` (List of Object) The custom type certificate type configuration (see [below for nested schema](#nestedatt--custom_certificate))
+- `fingerprint` (String) The identifier (SHA-1) of the certificate
+- `id` (String) The ID of this resource.
+- `letsencrypt` (List of Object) The Let's Encrypt type certificate configuration (see [below for nested schema](#nestedatt--letsencrypt))
+- `not_valid_after` (String) The not valid after validity bound timestamp
+- `not_valid_before` (String) The not valid before validity bound timestamp
+- `status` (String) The status of certificate
+- `subject_alternative_name` (List of String) The alternative domain names of the certificate
-data "scaleway_lb_certificate" "byName" {
- name = "${scaleway_lb_certificate.main.name}"
- lb_id = "${scaleway_lb.main.id}"
-}
-```
+
+### Nested Schema for `custom_certificate`
-## Arguments Reference
+Read-Only:
-The following arguments are supported:
+- `certificate_chain` (String)
-- `certificate_id` - (Optional) The certificate id.
- - Only one of `name` and `certificate_id` should be specified.
-- `name` - (Optional) The name of the certificate backend.
- - When using a certificate `name` you should specify the `lb-id`
+
+### Nested Schema for `letsencrypt`
-- `lb_id` - (Required) The load-balancer ID this certificate is attached to.
+Read-Only:
-## Attributes Reference
-
-See the [LB Certificate Resource](../resources/lb_certificate.md) for details on the returned attributes - they are identical.
\ No newline at end of file
+- `common_name` (String)
+- `subject_alternative_name` (List of String)
diff --git a/docs/data-sources/lb_frontend.md b/docs/data-sources/lb_frontend.md
index 80291fb16..b418e8fd0 100644
--- a/docs/data-sources/lb_frontend.md
+++ b/docs/data-sources/lb_frontend.md
@@ -1,56 +1,76 @@
---
-subcategory: "Load Balancers"
-page_title: "Scaleway: scaleway_lb_frontend"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_lb_frontend Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_lb_frontend
+# scaleway_lb_frontend (Data Source)
-Get information about Scaleway Load-Balancer Frontends.
-For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends).
-## Example Usage
-```hcl
-resource "scaleway_lb_ip" "ip01" {}
-resource "scaleway_lb" "lb01" {
- ip_id = scaleway_lb_ip.ip01.id
- name = "test-lb"
- type = "lb-s"
-}
-resource "scaleway_lb_backend" "bkd01" {
- lb_id = scaleway_lb.lb01.id
- forward_protocol = "tcp"
- forward_port = 80
- proxy_protocol = "none"
-}
-resource "scaleway_lb_frontend" "frt01" {
- lb_id = scaleway_lb.lb01.id
- backend_id = scaleway_lb_backend.bkd01.id
- inbound_port = 80
-}
-data "scaleway_lb_frontend" "byID" {
- frontend_id = scaleway_lb_frontend.frt01.id
-}
-data "scaleway_lb_frontend" "byName" {
- name = scaleway_lb_frontend.frt01.name
- lb_id = scaleway_lb.lb01.id
-}
-```
+
+## Schema
-## Arguments Reference
+### Optional
-The following arguments are supported:
+- `frontend_id` (String) The ID of the frontend
+- `lb_id` (String) The load-balancer ID
+- `name` (String) The name of the frontend
-- `frontend_id` - (Optional) The frontend id.
- - Only one of `name` and `frontend_id` should be specified.
+### Read-Only
-- `name` - (Optional) The name of the frontend.
- - When using the `name` you should specify the `lb-id`
+- `acl` (List of Object) ACL rules (see [below for nested schema](#nestedatt--acl))
+- `backend_id` (String) The load-balancer backend ID
+- `certificate_id` (String) Certificate ID
+- `certificate_ids` (List of String) Collection of Certificate IDs related to the load balancer and domain
+- `enable_http3` (Boolean) Activates HTTP/3 protocol
+- `external_acls` (Boolean) This boolean determines if ACLs should be managed externally through the 'lb_acl' resource. If set to `true`, `acl` attribute cannot be set directly in the lb frontend
+- `id` (String) The ID of this resource.
+- `inbound_port` (Number) TCP port to listen on the front side
+- `timeout_client` (String) Set the maximum inactivity time on the client side
-- `lb_id` - (Required) The load-balancer ID this frontend is attached to.
+
+### Nested Schema for `acl`
-## Attributes Reference
+Read-Only:
-See the [LB Frontend Resource](../resources/lb_frontend.md) for details on the returned attributes - they are identical.
\ No newline at end of file
+- `action` (List of Object) (see [below for nested schema](#nestedobjatt--acl--action))
+- `created_at` (String)
+- `description` (String)
+- `match` (List of Object) (see [below for nested schema](#nestedobjatt--acl--match))
+- `name` (String)
+- `updated_at` (String)
+
+
+### Nested Schema for `acl.action`
+
+Read-Only:
+
+- `redirect` (List of Object) (see [below for nested schema](#nestedobjatt--acl--action--redirect))
+- `type` (String)
+
+
+### Nested Schema for `acl.action.redirect`
+
+Read-Only:
+
+- `code` (Number)
+- `target` (String)
+- `type` (String)
+
+
+
+
+### Nested Schema for `acl.match`
+
+Read-Only:
+
+- `http_filter` (String)
+- `http_filter_option` (String)
+- `http_filter_value` (List of String)
+- `invert` (Boolean)
+- `ip_subnet` (List of String)
diff --git a/docs/data-sources/lb_frontends.md b/docs/data-sources/lb_frontends.md
index 02786bbed..be8835e22 100644
--- a/docs/data-sources/lb_frontends.md
+++ b/docs/data-sources/lb_frontends.md
@@ -1,46 +1,48 @@
---
-subcategory: "Load Balancers"
-page_title: "Scaleway: scaleway_lb_frontends"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_lb_frontends Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_lb_frontends
+# scaleway_lb_frontends (Data Source)
-Gets information about multiple Load Balancer Frontends.
-## Example Usage
-```hcl
-# Find frontends that share the same LB ID
-data "scaleway_lb_frontends" "byLBID" {
- lb_id = "${scaleway_lb.lb01.id}"
-}
-# Find frontends by LB ID and name
-data "scaleway_lb_frontends" "byLBID_and_name" {
- lb_id = "${scaleway_lb.lb01.id}"
- name = "tf-frontend-datasource"
-}
-```
-## Argument Reference
-- `lb_id` - (Required) The load-balancer ID this frontend is attached to. frontends with a LB ID like it are listed.
+
+## Schema
-- `name` - (Optional) The frontend name used as filter. Frontends with a name like it are listed.
+### Required
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which frontends exist.
+- `lb_id` (String) frontends with a lb id like it are listed.
-## Attributes Reference
+### Optional
-In addition to all arguments above, the following attributes are exported:
+- `name` (String) frontends with a name like it are listed.
+- `project_id` (String) The project_id you want to attach the resource to
+- `zone` (String) The zone you want to attach the resource to
-- `frontends` - List of found frontends
- - `id` - The associated frontend ID.
- ~> **Important:** LB frontends' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
- - `inbound_port` - TCP port the frontend listen to.
- - `created_at` - The date at which the frontend was created (RFC 3339 format).
- - `update_at` - The date at which the frontend was last updated (RFC 3339 format).
- - `backend_id` - The load-balancer backend ID this frontend is attached to.
- ~> **Important:** LB backends' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
- - `timeout_client` - Maximum inactivity time on the client side.
- - `certificate_ids` - List of Certificate IDs that are used by the frontend.
- - `enable_http3` - If HTTP/3 protocol is activated.
+### Read-Only
+
+- `frontends` (List of Object) (see [below for nested schema](#nestedatt--frontends))
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+
+
+### Nested Schema for `frontends`
+
+Read-Only:
+
+- `backend_id` (String)
+- `certificate_ids` (List of String)
+- `created_at` (String)
+- `enable_http3` (Boolean)
+- `id` (String)
+- `inbound_port` (Number)
+- `lb_id` (String)
+- `name` (String)
+- `timeout_client` (String)
+- `update_at` (String)
diff --git a/docs/data-sources/lb_ip.md b/docs/data-sources/lb_ip.md
index abe211d28..d8a18e106 100644
--- a/docs/data-sources/lb_ip.md
+++ b/docs/data-sources/lb_ip.md
@@ -1,50 +1,31 @@
---
-subcategory: "Load Balancers"
-page_title: "Scaleway: scaleway_lb_ip"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_lb_ip Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_lb_ip
+# scaleway_lb_ip (Data Source)
-Gets information about a Load Balancer IP.
-## Example Usage
-```hcl
-# Get info by IP address
-data "scaleway_lb_ip" "my_ip" {
- ip_address = "0.0.0.0"
-}
-# Get info by IP ID
-data "scaleway_lb_ip" "my_ip" {
- ip_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-The following arguments are supported:
+### Optional
-- `ip_address` - (Optional) The IP address.
- Only one of `ip_address` and `ip_id` should be specified.
+- `ip_address` (String) The IP address
+- `ip_id` (String) The ID of the IP address
+- `project_id` (String) The project_id you want to attach the resource to
-- `ip_id` - (Optional) The IP ID.
- Only one of `ip_address` and `ip_id` should be specified.
+### Read-Only
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the IP should be reserved.
-
-- `project_id` - (Optional) The ID of the project the LB IP associated with.
-
-## Attributes Reference
-
-In addition to all above arguments, the following attributes are exported:
-
-- `id` - The ID of the IP.
-
-~> **Important:** Load-balancers IPs' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
-
-- `reverse` - The reverse domain associated with this IP.
-
-- `lb_id` - The associated load-balancer ID if any
-
-- `organization_id` - (Defaults to [provider](../index.md#organization_id) `organization_id`) The ID of the organization the LB IP is associated with.
+- `id` (String) The ID of this resource.
+- `lb_id` (String) The ID of the load balancer attached to this IP, if any
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `region` (String) The region of the resource
+- `reverse` (String) The reverse domain name for this IP
+- `zone` (String) The zone you want to attach the resource to
diff --git a/docs/data-sources/lb_ips.md b/docs/data-sources/lb_ips.md
index 02fc3874c..31a367330 100644
--- a/docs/data-sources/lb_ips.md
+++ b/docs/data-sources/lb_ips.md
@@ -1,41 +1,41 @@
---
-subcategory: "Load Balancers"
-page_title: "Scaleway: scaleway_lb_ips"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_lb_ips Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_lb_ips
+# scaleway_lb_ips (Data Source)
-Gets information about multiple Load Balancer IPs.
-## Example Usage
-```hcl
-# Find multiple IPs that share the same CIDR block
-data "scaleway_lb_ips" "my_key" {
- ip_cidr_range = "0.0.0.0/0"
-}
-# Find IPs by CIDR block and zone
-data "scaleway_lb_ips" "my_key" {
- ip_cidr_range = "0.0.0.0/0"
- zone = "fr-par-2"
-}
-```
-## Argument Reference
-- `ip_cidr_range` - (Optional) The IP CIDR range used as a filter. IPs within a CIDR block like it are listed.
+
+## Schema
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which IPs exist.
+### Optional
-## Attributes Reference
+- `ip_cidr_range` (String) IPs within a CIDR block like it are listed.
+- `project_id` (String) The project_id you want to attach the resource to
+- `zone` (String) The zone you want to attach the resource to
-In addition to all arguments above, the following attributes are exported:
+### Read-Only
-- `ips` - List of found IPs
- - `id` - The associated IP ID.
- - `lb_id` - The associated load-balancer ID if any
- - `ip_address` - The IP Address
- - `zone` - The [zone](../guides/regions_and_zones.md#zones) in which the load-balancer is.
- - `reverse` - The reverse domain associated with this IP.
- - `organization_id` - The organization ID the load-balancer is associated with.
- - `project_id` - The ID of the project the load-balancer is associated with.
\ No newline at end of file
+- `id` (String) The ID of this resource.
+- `ips` (List of Object) (see [below for nested schema](#nestedatt--ips))
+- `organization_id` (String) The organization_id you want to attach the resource to
+
+
+### Nested Schema for `ips`
+
+Read-Only:
+
+- `id` (String)
+- `ip_address` (String)
+- `lb_id` (String)
+- `organization_id` (String)
+- `project_id` (String)
+- `reverse` (String)
+- `zone` (String)
diff --git a/docs/data-sources/lb_route.md b/docs/data-sources/lb_route.md
index 92fb35345..4c851cfe6 100644
--- a/docs/data-sources/lb_route.md
+++ b/docs/data-sources/lb_route.md
@@ -1,50 +1,30 @@
---
-subcategory: "Load Balancers"
-page_title: "Scaleway: scaleway_lb_route"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_lb_route Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_lb_route
-
-Get information about Scaleway Load-Balancer Routes.
-For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route).
-
-## Example Usage
-
-```hcl
-resource "scaleway_lb_ip" "ip01" {}
-resource "scaleway_lb" "lb01" {
- ip_id = scaleway_lb_ip.ip01.id
- name = "test-lb"
- type = "lb-s"
-}
-resource "scaleway_lb_backend" "bkd01" {
- lb_id = scaleway_lb.lb01.id
- forward_protocol = "tcp"
- forward_port = 80
- proxy_protocol = "none"
-}
-resource "scaleway_lb_frontend" "frt01" {
- lb_id = scaleway_lb.lb01.id
- backend_id = scaleway_lb_backend.bkd01.id
- inbound_port = 80
-}
-resource "scaleway_lb_route" "rt01" {
- frontend_id = scaleway_lb_frontend.frt01.id
- backend_id = scaleway_lb_backend.bkd01.id
- match_sni = "sni.scaleway.com"
-}
-
-data "scaleway_lb_route" "byID" {
- route_id = scaleway_lb_route.rt01.id
-}
-```
-
-## Argument Reference
-
-The following argument is supported:
-
-- `route_id` - (Required) The route id.
-
-## Attributes Reference
-
-See the [LB Route Resource](../resources/lb_route.md) for details on the returned attributes - they are identical.
\ No newline at end of file
+# scaleway_lb_route (Data Source)
+
+
+
+
+
+
+## Schema
+
+### Required
+
+- `route_id` (String) The ID of the route
+
+### Read-Only
+
+- `backend_id` (String) The backend ID destination of redirection
+- `created_at` (String) The date at which the route was created (RFC 3339 format)
+- `frontend_id` (String) The frontend ID origin of redirection
+- `id` (String) The ID of this resource.
+- `match_host_header` (String) Specifies the host of the server to which the request is being sent
+- `match_sni` (String) Server Name Indication TLS extension field from an incoming connection made via an SSL/TLS transport layer
+- `updated_at` (String) The date at which the route was last updated (RFC 3339 format)
diff --git a/docs/data-sources/lb_routes.md b/docs/data-sources/lb_routes.md
index 609a62d4e..f13e68c8c 100644
--- a/docs/data-sources/lb_routes.md
+++ b/docs/data-sources/lb_routes.md
@@ -1,40 +1,41 @@
---
-subcategory: "Load Balancers"
-page_title: "Scaleway: scaleway_lb_routes"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_lb_routes Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_lb_routes
+# scaleway_lb_routes (Data Source)
-Gets information about multiple Load Balancer Routes.
-## Example Usage
-```hcl
-# Find routes that share the same frontend ID
-data "scaleway_lb_routes" "by_frontendID" {
- frontend_id = scaleway_lb_frontend.frt01.id
-}
-# Find routes by frontend ID and zone
-data "scaleway_lb_routes" "my_key" {
- frontend_id = "11111111-1111-1111-1111-111111111111"
- zone = "fr-par-2"
-}
-```
-## Argument Reference
-- `frontend_id` - (Optional) The frontend ID origin of redirection used as a filter. routes with a frontend ID like it are listed.
+
+## Schema
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which routes exist.
+### Optional
-## Attributes Reference
+- `frontend_id` (String) Routes with a frontend id like it are listed.
+- `project_id` (String) The project_id you want to attach the resource to
+- `zone` (String) The zone you want to attach the resource to
-In addition to all arguments above, the following attributes are exported:
+### Read-Only
-- `routes` - List of found routes
- - `id` - The associated route ID.
- - `backend_id` - The backend ID destination of redirection
- - `created_at` - The date at which the route was created (RFC 3339 format).
- - `update_at` - The date at which the route was last updated (RFC 3339 format).
- - `match_sni` - Server Name Indication TLS extension field from an incoming connection made via an SSL/TLS transport layer.
- - `match_host_header` - Specifies the host of the server to which the request is being sent.
\ No newline at end of file
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `routes` (List of Object) (see [below for nested schema](#nestedatt--routes))
+
+
+### Nested Schema for `routes`
+
+Read-Only:
+
+- `backend_id` (String)
+- `created_at` (String)
+- `frontend_id` (String)
+- `id` (String)
+- `match_host_header` (String)
+- `match_sni` (String)
+- `update_at` (String)
diff --git a/docs/data-sources/lbs.md b/docs/data-sources/lbs.md
index ea08de97e..22e6c96cb 100644
--- a/docs/data-sources/lbs.md
+++ b/docs/data-sources/lbs.md
@@ -1,61 +1,79 @@
---
-subcategory: "Load Balancers"
-page_title: "Scaleway: scaleway_lbs"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_lbs Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_lbs
-
-Gets information about multiple Load Balancers.
-
-## Example Usage
-
-```hcl
-# Find LBs by name
-data "scaleway_lbs" "my_key" {
- name = "foobar"
-}
-
-# Find LBs by name and zone
-data "scaleway_lbs" "my_key" {
- name = "foobar"
- zone = "fr-par-2"
-}
-
-# Find LBs that share the same tags
-data "scaleway_lbs" "lbs_by_tags" {
- tags = [ "a tag" ]
-}
-```
-
-## Argument Reference
-
-- `name` - (Optional) The load balancer name used as a filter. LBs with a name like it are listed.
-
-- `tags` - (Optional) List of tags used as filter. LBs with these exact tags are listed.
-
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which LBs exist.
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `lbs` - List of found LBs
- - `id` - The ID of the load-balancer.
- - `tags` - The tags associated with the load-balancer.
- - `description` - The description of the load-balancer.
- - `status` - The state of the LB's instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`.
- - `zone` - The [zone](../guides/regions_and_zones.md#zones) in which the load-balancer is.
- - `name` - The name of the load-balancer.
- - `type` - The offer type of the load-balancer.
- - `instances` - List of underlying instances.
- - `ips` - List of IPs attached to the Load balancer.
- - `frontend_count` - Number of frontends the Load balancer has.
- - `backend_count` - Number of backends the Load balancer has.
- - `private_network_count` - Number of private networks attached to the Load balancer.
- - `route_count` - Number of routes the Load balancer has.
- - `subscriber` - The subscriber information.
- - `ssl_compatibility_level` - Determines the minimal SSL version which needs to be supported on client side.
- - `created_at` - Date at which the Load balancer was created.
- - `updated_at` - Date at which the Load balancer was updated.
- - `organization_id` - The organization ID the load-balancer is associated with.
- - `project_id` - The ID of the project the load-balancer is associated with.
+# scaleway_lbs (Data Source)
+
+
+
+
+
+
+## Schema
+
+### Optional
+
+- `name` (String) LBs with a name like it are listed.
+- `project_id` (String) The project_id you want to attach the resource to
+- `zone` (String) The zone you want to attach the resource to
+
+### Read-Only
+
+- `id` (String) The ID of this resource.
+- `lbs` (List of Object) (see [below for nested schema](#nestedatt--lbs))
+- `organization_id` (String) The organization_id you want to attach the resource to
+
+
+### Nested Schema for `lbs`
+
+Read-Only:
+
+- `backend_count` (Number)
+- `created_at` (String)
+- `description` (String)
+- `frontend_count` (Number)
+- `id` (String)
+- `instances` (List of Object) (see [below for nested schema](#nestedobjatt--lbs--instances))
+- `ips` (List of Object) (see [below for nested schema](#nestedobjatt--lbs--ips))
+- `name` (String)
+- `organization_id` (String)
+- `private_network_count` (Number)
+- `project_id` (String)
+- `route_count` (Number)
+- `ssl_compatibility_level` (String)
+- `status` (String)
+- `subscriber` (String)
+- `tags` (List of String)
+- `type` (String)
+- `updated_at` (String)
+- `zone` (String)
+
+
+### Nested Schema for `lbs.instances`
+
+Read-Only:
+
+- `created_at` (String)
+- `id` (String)
+- `ip_address` (String)
+- `status` (String)
+- `updated_at` (String)
+- `zone` (String)
+
+
+
+### Nested Schema for `lbs.ips`
+
+Read-Only:
+
+- `id` (String)
+- `ip_address` (String)
+- `lb_id` (String)
+- `organization_id` (String)
+- `project_id` (String)
+- `reverse` (String)
+- `zone` (String)
diff --git a/docs/data-sources/marketplace_image.md b/docs/data-sources/marketplace_image.md
index 2cd2ad713..dabb5aba9 100644
--- a/docs/data-sources/marketplace_image.md
+++ b/docs/data-sources/marketplace_image.md
@@ -1,34 +1,29 @@
---
-subcategory: "Instances"
-page_title: "Scaleway: scaleway_marketplace_image"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_marketplace_image Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_marketplace_image
+# scaleway_marketplace_image (Data Source)
-Gets local image ID of an image from its label name.
-## Example Usage
-```hcl
-data "scaleway_marketplace_image" "my_image" {
- label = "ubuntu_jammy"
-}
-```
-## Argument Reference
-- `label` - (Required) Exact label of the desired image. You can use [this endpoint](https://api-marketplace.scaleway.com/images?page=1&per_page=100)
-to find the right `label`.
+
+## Schema
-- `instance_type` - (Optional, default `DEV1-S`) The instance type the image is compatible with.
-You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
+### Required
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the image exists.
+- `label` (String) Exact label of the desired image
-## Attributes Reference
+### Optional
-In addition to all above arguments, the following attributes are exported:
+- `instance_type` (String) The instance commercial type of the desired image
+- `zone` (String) The zone you want to attach the resource to
-- `id` - The ID of the local image.
+### Read-Only
-- ~> **Important:** Instance local images' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
+- `id` (String) The ID of this resource.
diff --git a/docs/data-sources/mnq_sqs.md b/docs/data-sources/mnq_sqs.md
index 4dcb908c1..61756c041 100644
--- a/docs/data-sources/mnq_sqs.md
+++ b/docs/data-sources/mnq_sqs.md
@@ -1,41 +1,26 @@
---
-subcategory: "Messaging and Queuing"
-page_title: "Scaleway: scaleway_mnq_sqs"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_mnq_sqs Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_mnq_sqs
+# scaleway_mnq_sqs (Data Source)
-Gets information about SQS for a project
-## Examples
-### Basic
-```hcl
-// For default project
-data "scaleway_mnq_sqs" "main" {}
-// For specific project
-data "scaleway_mnq_sqs" "for_project" {
- project_id = scaleway_account_project.main.id
-}
-```
+
+## Schema
-## Arguments Reference
+### Optional
-The following arguments are supported:
+- `project_id` (String) The project_id you want to attach the resource to
+- `region` (String) The region you want to attach the resource to
-- `region` - (Defaults to [provider](../index.md#region) `region`). The [region](../guides/regions_and_zones.md#regions) in which sqs is enabled.
+### Read-Only
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project for which sqs is enabled.
-
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `id` - The ID of the project
-
-~> **Important:** Messaging and Queueing sqs' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
-
-- `endpoint` - The endpoint of the SQS service for this project.
+- `endpoint` (String) Endpoint of the SQS service
+- `id` (String) The ID of this resource.
diff --git a/docs/data-sources/object_bucket.md b/docs/data-sources/object_bucket.md
index 29c4ecd78..5334d1d55 100644
--- a/docs/data-sources/object_bucket.md
+++ b/docs/data-sources/object_bucket.md
@@ -1,52 +1,85 @@
---
-subcategory: "Object Storage"
-page_title: "Scaleway: scaleway_object_bucket"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_object_bucket Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_object_bucket
+# scaleway_object_bucket (Data Source)
-Gets information about the Bucket.
-For more information, see [the documentation](https://www.scaleway.com/en/docs/object-storage-feature/).
-## Example Usage
-```hcl
-resource "scaleway_object_bucket" "main" {
- name = "bucket.test.com"
- tags = {
- foo = "bar"
- }
-}
-data "scaleway_object_bucket" "selected" {
- name = scaleway_object_bucket.main.id
-}
-```
+
+## Schema
-### Fetching the bucket from a specific project
+### Optional
-```hcl
-data "scaleway_object_bucket" "selected" {
- name = "bucket.test.com"
- project_id = "11111111-1111-1111-1111-111111111111"
-}
-```
+- `name` (String) The name of the bucket
+- `project_id` (String) The project_id you want to attach the resource to
+- `region` (String) The region you want to attach the resource to
-## Argument Reference
+### Read-Only
-- `name` - (Required) The bucket name, or its terraform's ID (`{region}/{name}`)
-- `object_lock_enabled` - (Optional) Enable object lock on the bucket. Defaults to `false`. Updating this field will force creating a new bucket.
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#zones) in which the bucket exists.
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the bucket is associated with.
+- `acl` (String) ACL of the bucket: either 'public-read' or 'private'.
+- `api_endpoint` (String) API URL of the bucket
+- `cors_rule` (List of Object) (see [below for nested schema](#nestedatt--cors_rule))
+- `endpoint` (String) Endpoint of the bucket
+- `force_destroy` (Boolean) Delete objects in bucket
+- `id` (String) The ID of this resource.
+- `lifecycle_rule` (List of Object) Lifecycle configuration is a set of rules that define actions that Scaleway Object Storage applies to a group of objects (see [below for nested schema](#nestedatt--lifecycle_rule))
+- `object_lock_enabled` (Boolean) Enable object lock
+- `tags` (Map of String) The tags associated with this bucket
+- `versioning` (List of Object) Allow multiple versions of an object in the same bucket (see [below for nested schema](#nestedatt--versioning))
+
+### Nested Schema for `cors_rule`
-## Attributes Reference
+Read-Only:
-In addition to all above arguments, the following attribute is exported:
+- `allowed_headers` (List of String)
+- `allowed_methods` (List of String)
+- `allowed_origins` (List of String)
+- `expose_headers` (List of String)
+- `max_age_seconds` (Number)
-* `id` - The unique name of the bucket.
-~> **Important:** Object buckets' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{name}`, e.g. `fr-par/bucket-name`
+
+### Nested Schema for `lifecycle_rule`
-* `endpoint` - The endpoint URL of the bucket
\ No newline at end of file
+Read-Only:
+
+- `abort_incomplete_multipart_upload_days` (Number)
+- `enabled` (Boolean)
+- `expiration` (List of Object) (see [below for nested schema](#nestedobjatt--lifecycle_rule--expiration))
+- `id` (String)
+- `prefix` (String)
+- `tags` (Map of String)
+- `transition` (Set of Object) (see [below for nested schema](#nestedobjatt--lifecycle_rule--transition))
+
+
+### Nested Schema for `lifecycle_rule.expiration`
+
+Read-Only:
+
+- `days` (Number)
+
+
+
+### Nested Schema for `lifecycle_rule.transition`
+
+Read-Only:
+
+- `days` (Number)
+- `storage_class` (String)
+
+
+
+
+### Nested Schema for `versioning`
+
+Read-Only:
+
+- `enabled` (Boolean)
diff --git a/docs/data-sources/object_bucket_policy.md b/docs/data-sources/object_bucket_policy.md
index 13c98e6d9..500599eb0 100644
--- a/docs/data-sources/object_bucket_policy.md
+++ b/docs/data-sources/object_bucket_policy.md
@@ -1,34 +1,30 @@
---
-subcategory: "Object Storage"
-page_title: "Scaleway: scaleway_object_bucket_policy"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_object_bucket_policy Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_object_bucket_policy
+# scaleway_object_bucket_policy (Data Source)
-Gets information about the Bucket's policy.
-For more information, see [the documentation](https://www.scaleway.com/en/docs/object-storage-feature/).
-## Example Usage
-```hcl
-data "scaleway_object_bucket_policy" "main" {
- bucket = "bucket.test.com"
-}
-```
-## Argument Reference
-- `bucket` - (Required) The bucket name.
-- `region` - (Defaults to [provider](../index.md#arguments-reference) `region`) The [region](../guides/regions_and_zones.md#zones) in which the Object Storage exists.
-- `project_id` - (Defaults to [provider](../index.md#arguments-reference) `project_id`) The ID of the project the bucket is associated with.
+
+## Schema
-~> **Important:** The `project_id` attribute has a particular behavior with s3 products because the s3 API is scoped by project.
-If you are using a project different from the default one, you have to specify the `project_id` for every child resource of the bucket,
-like bucket policies. Otherwise, Terraform will try to create the child resource with the default project ID and you will get a 403 error.
+### Required
+- `bucket` (String) The bucket's name or regional ID.
-## Attributes Reference
+### Optional
-In addition to all above arguments, the following attribute is exported:
+- `project_id` (String) The project_id you want to attach the resource to
+- `region` (String) The region you want to attach the resource to
-* `policy` - The bucket's policy in JSON format.
+### Read-Only
+
+- `id` (String) The ID of this resource.
+- `policy` (String) The text of the policy.
diff --git a/docs/data-sources/rdb_acl.md b/docs/data-sources/rdb_acl.md
index 20d440582..8ca78f4d9 100644
--- a/docs/data-sources/rdb_acl.md
+++ b/docs/data-sources/rdb_acl.md
@@ -1,37 +1,37 @@
---
-subcategory: "Databases"
-page_title: "Scaleway: scaleway_rdb_acl"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_rdb_acl Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_rdb_acl
+# scaleway_rdb_acl (Data Source)
-Gets information about the RDB instance network Access Control List.
-## Example Usage
-```hcl
-# Get the database ACL for the instance id 11111111-1111-1111-1111-111111111111 located in the default region e.g: fr-par
-data "scaleway_rdb_acl" "my_acl" {
- instance_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
-- `instance_id` - (Required) The RDB instance ID.
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the Database Instance should be created.
+
+## Schema
-## Attributes Reference
+### Required
-In addition to all above arguments, the following attributes are exported:
+- `instance_id` (String) Instance on which the ACL is applied
-- `id` - The ID of the ACL.
+### Optional
-~> **Important:** RDB instances ACLs' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
+- `region` (String) The region you want to attach the resource to
-- `acl_rules` - A list of ACLs rules (structure is described below)
+### Read-Only
-The `acl_rules` block supports:
+- `acl_rules` (List of Object) List of ACL rules to apply (see [below for nested schema](#nestedatt--acl_rules))
+- `id` (String) The ID of this resource.
-- `ip` - The ip range to whitelist in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation)
-- `description` - A simple text describing this rule
+
+### Nested Schema for `acl_rules`
+
+Read-Only:
+
+- `description` (String)
+- `ip` (String)
diff --git a/docs/data-sources/rdb_database.md b/docs/data-sources/rdb_database.md
index 55acd6fd4..e00ac5aed 100644
--- a/docs/data-sources/rdb_database.md
+++ b/docs/data-sources/rdb_database.md
@@ -1,36 +1,32 @@
---
-subcategory: "Databases"
-page_title: "Scaleway: scaleway_rdb_database"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_rdb_database Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_rdb_database
+# scaleway_rdb_database (Data Source)
-Gets information about a RDB database.
-## Example Usage
-```hcl
-# Get the database foobar hosted on instance id 11111111-1111-1111-1111-111111111111
-data "scaleway_rdb_database" "my_db" {
- instance_id = "11111111-1111-1111-1111-111111111111"
- name = "foobar"
-}
-```
-## Argument Reference
-- `instance_id` - (Required) The RDB instance ID.
+
+## Schema
-- `name` - (Required) The name of the RDB instance.
+### Required
-## Attributes Reference
+- `instance_id` (String) Instance on which the database is created
+- `name` (String) Database name
-In addition to all above arguments, the following attributes are exported:
+### Optional
-- `id` - The ID of the database.
+- `region` (String) The region you want to attach the resource to
-~> **Important:** RDB databases' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{instance-id}/{database-name}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111/database`
+### Read-Only
-- `owner` - The name of the owner of the database.
-- `managed` - Whether the database is managed or not.
-- `size` - Size of the database (in bytes).
+- `id` (String) The ID of this resource.
+- `managed` (Boolean) Whether or not the database is managed
+- `owner` (String) User that own the database
+- `size` (String) Size of the database
diff --git a/docs/data-sources/rdb_database_backup.md b/docs/data-sources/rdb_database_backup.md
index 143ba51aa..26c933a5b 100644
--- a/docs/data-sources/rdb_database_backup.md
+++ b/docs/data-sources/rdb_database_backup.md
@@ -1,47 +1,34 @@
---
-subcategory: "Databases"
-page_title: "Scaleway: scaleway_rdb_database_backup"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_rdb_database_backup Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_rdb_database_backup
+# scaleway_rdb_database_backup (Data Source)
-Gets information about an RDB backup.
-## Example Usage
-```hcl
-data scaleway_rdb_database_backup find_by_name {
- name = "mybackup"
-}
-data scaleway_rdb_database_backup find_by_name_and_instance {
- name = "mybackup"
- instance_id = "11111111-1111-1111-1111-111111111111"
-}
-data scaleway_rdb_database_backup find_by_id {
- backup_id = "11111111-1111-1111-1111-111111111111"
-}
-```
+
+## Schema
-## Argument Reference
+### Optional
-- `backup_id` - (Optional) The RDB backup ID.
- Only one of the `name` and `backup_id` should be specified.
+- `backup_id` (String) The ID of the Backup
+- `instance_id` (String) Instance on which the user is created
+- `name` (String) Name of the backup.
+- `project_id` (String) The ID of the project to filter the Backup
+- `region` (String) The region you want to attach the resource to
-- `instance_id` - (Optional) The RDB instance ID.
+### Read-Only
-- `name` - (Optional) The name of the RDB instance.
- Only one of the `name` and `backup_id` should be specified.
-
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the Database Backup is associated with.
-
-- `project_id` - (Optional) The ID of the project the Database Backup is associated with.
-
-## Attributes Reference
-
-In addition to all above arguments, the following attributes are exported:
-
-- `id` - The ID of the backup.
-
-~> **Important:** RDB databases backups' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
+- `created_at` (String) Creation date (Format ISO 8601).
+- `database_name` (String) Name of the database of this backup.
+- `expires_at` (String) Expiration date (Format ISO 8601). Cannot be removed.
+- `id` (String) The ID of this resource.
+- `instance_name` (String) Name of the instance of the backup.
+- `size` (Number) Size of the backup (in bytes).
+- `updated_at` (String) Updated date (Format ISO 8601).
diff --git a/docs/data-sources/rdb_instance.md b/docs/data-sources/rdb_instance.md
index d97a15364..ff5aae840 100644
--- a/docs/data-sources/rdb_instance.md
+++ b/docs/data-sources/rdb_instance.md
@@ -1,52 +1,85 @@
---
-subcategory: "Databases"
-page_title: "Scaleway: scaleway_rdb_instance"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_rdb_instance Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_rdb_instance
+# scaleway_rdb_instance (Data Source)
-Gets information about an RDB instance. For further information see our [developers website](https://developers.scaleway.com/en/products/rdb/api/#database-instance)
-## Example Usage
-```hcl
-# Get info by name
-data "scaleway_rdb_instance" "my_instance" {
- name = "foobar"
-}
-# Get info by instance ID
-data "scaleway_rdb_instance" "my_instance" {
- instance_id = "11111111-1111-1111-1111-111111111111"
-}
-# Get other attributes
-output "load_balancer_ip_addr" {
- description = "IP address of load balancer"
- value = data.scaleway_rdb_instance.my_instance.load_balancer.0.ip
-}
-```
+
+## Schema
-## Argument Reference
+### Optional
-- `name` - (Optional) The name of the RDB instance.
- Only one of `name` and `instance_id` should be specified.
+- `instance_id` (String) The ID of the RDB instance
+- `name` (String) Name of the database instance
+- `project_id` (String) The project_id you want to attach the resource to
+- `region` (String) The region you want to attach the resource to
-- `instance_id` - (Optional) The RDB instance ID.
- Only one of `name` and `instance_id` should be specified.
+### Read-Only
-- `project_id` - (Optional) The ID of the project the RDB instance is in. Can be used to filter instances when using `name`.
+- `backup_same_region` (Boolean) Boolean to store logical backups in the same region as the database instance
+- `backup_schedule_frequency` (Number) Backup schedule frequency in hours
+- `backup_schedule_retention` (Number) Backup schedule retention in days
+- `certificate` (String) Certificate of the database instance
+- `disable_backup` (Boolean) Disable automated backup for the database instance
+- `endpoint_ip` (String) Endpoint IP of the database instance
+- `endpoint_port` (Number) Endpoint port of the database instance
+- `engine` (String) Database's engine version id
+- `id` (String) The ID of this resource.
+- `init_settings` (Map of String) Map of engine settings to be set at database initialisation.
+- `is_ha_cluster` (Boolean) Enable or disable high availability for the database instance
+- `load_balancer` (List of Object) Load balancer of the database instance (see [below for nested schema](#nestedatt--load_balancer))
+- `node_type` (String) The type of database instance you want to create
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `password` (String) Password for the first user of the database instance
+- `private_network` (List of Object) List of private network to expose your database instance (see [below for nested schema](#nestedatt--private_network))
+- `read_replicas` (List of Object) Read replicas of the database instance (see [below for nested schema](#nestedatt--read_replicas))
+- `settings` (Map of String) Map of engine settings to be set on a running instance.
+- `tags` (List of String) List of tags ["tag1", "tag2", ...] attached to a database instance
+- `user_name` (String) Identifier for the first user of the database instance
+- `volume_size_in_gb` (Number) Volume size (in GB) when volume_type is not lssd
+- `volume_type` (String) Type of volume where data are stored
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#zones) in which the RDB instance exists.
+
+### Nested Schema for `load_balancer`
-- `organization_id` - (Defaults to [provider](../index.md#organization_id) `organization_id`) The ID of the organization the RDB instance is in.
+Read-Only:
-## Attributes Reference
+- `endpoint_id` (String)
+- `hostname` (String)
+- `ip` (String)
+- `name` (String)
+- `port` (Number)
-In addition to all above arguments, the following attributes are exported:
-- `id` - The ID of the RDB instance.
+
+### Nested Schema for `private_network`
-~> **Important:** RDB instances' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
+Read-Only:
-Exported attributes are the ones from `scaleway_rdb_instance` [resource](../resources/rdb_instance.md)
+- `enable_ipam` (Boolean)
+- `endpoint_id` (String)
+- `hostname` (String)
+- `ip` (String)
+- `ip_net` (String)
+- `name` (String)
+- `pn_id` (String)
+- `port` (Number)
+- `zone` (String)
+
+
+
+### Nested Schema for `read_replicas`
+
+Read-Only:
+
+- `ip` (String)
+- `name` (String)
+- `port` (Number)
diff --git a/docs/data-sources/rdb_privilege.md b/docs/data-sources/rdb_privilege.md
index 8ae52ef16..a34c08e49 100644
--- a/docs/data-sources/rdb_privilege.md
+++ b/docs/data-sources/rdb_privilege.md
@@ -1,40 +1,31 @@
---
-subcategory: "Databases"
-page_title: "Scaleway: scaleway_rdb_privilege"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_rdb_privilege Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_rdb_privilege
+# scaleway_rdb_privilege (Data Source)
-Gets information about the privilege on RDB database.
-## Example Usage
-```hcl
-# Get the database privilege for the user "my-user" on the database "my-database" hosted on instance id 11111111-1111-1111-1111-111111111111 and on the default region. e.g: fr-par
-data "scaleway_rdb_privilege" "main" {
- instance_id = "11111111-1111-111111111111"
- user_name = "my-user"
- database_name = "my-database"
-}
-```
-## Argument Reference
-- `instance_id` - (Required) The RDB instance ID.
+
+## Schema
-- `user_name` - (Required) The user name.
+### Required
-- `database_name` - (Required) The database name.
+- `database_name` (String) Database name
+- `instance_id` (String) Instance on which the database is created
+- `user_name` (String) User name
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the resource exists.
+### Optional
-## Attributes Reference
+- `region` (String) The region you want to attach the resource to
-In addition to all above arguments, the following attributes are exported:
+### Read-Only
-- `id` - The ID of the user privileges.
-
-~> **Important:** RDB databases user privileges' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{instance-id}/{database}/{user-name}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111/database/user`
-
-- `permission` - The permission for this user on the database. Possible values are `readonly`, `readwrite`, `all`
- , `custom` and `none`.
+- `id` (String) The ID of this resource.
+- `permission` (String) Privilege
diff --git a/docs/data-sources/redis_cluster.md b/docs/data-sources/redis_cluster.md
index 0ce427b0b..54ba04b52 100644
--- a/docs/data-sources/redis_cluster.md
+++ b/docs/data-sources/redis_cluster.md
@@ -1,42 +1,71 @@
---
-subcategory: "Redis"
-page_title: "Scaleway: scaleway_redis_instance"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_redis_cluster Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_redis_cluster
+# scaleway_redis_cluster (Data Source)
-Gets information about a Redis cluster. For further information check our [api documentation](https://developers.scaleway.com/en/products/redis/api/v1alpha1/#clusters-a85816)
-## Example Usage
-```hcl
-# Get info by name
-data "scaleway_redis_cluster" "my_cluster" {
- name = "foobar"
-}
-# Get info by cluster ID
-data "scaleway_redis_cluster" "my_cluster" {
- cluster_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - (Optional) The name of the Redis cluster.
- Only one of the `name` and `cluster_id` should be specified.
+### Optional
-- `cluster_id` - (Optional) The Redis cluster ID.
- Only one of the `name` and `cluster_id` should be specified.
+- `cluster_id` (String) The ID of the Redis cluster
+- `name` (String) Name of the redis cluster
+- `project_id` (String) The project_id you want to attach the resource to
+- `zone` (String) The zone you want to attach the resource to
-- `zone` - (Default to [provider](../index.md) `region`) The [zone](../guides/regions_and_zones.md#zones) in which the server exists.
+### Read-Only
-- `project_id` - (Optional) The ID of the project the Redis cluster is associated with.
+- `acl` (Set of Object) List of acl rules. (see [below for nested schema](#nestedatt--acl))
+- `certificate` (String) public TLS certificate used by redis cluster, empty if tls is disabled
+- `cluster_size` (Number) Number of nodes for the cluster.
+- `created_at` (String) The date and time of the creation of the Redis cluster
+- `id` (String) The ID of this resource.
+- `node_type` (String) Type of node to use for the cluster
+- `password` (String) Password of the user
+- `private_network` (Set of Object) Private network specs details (see [below for nested schema](#nestedatt--private_network))
+- `public_network` (List of Object) Public network specs details (see [below for nested schema](#nestedatt--public_network))
+- `settings` (Map of String) Map of settings to define for the cluster.
+- `tags` (List of String) List of tags ["tag1", "tag2", ...] attached to a redis cluster
+- `tls_enabled` (Boolean) Whether or not TLS is enabled.
+- `updated_at` (String) The date and time of the last update of the Redis cluster
+- `user_name` (String) Name of the user created when the cluster is created
+- `version` (String) Redis version of the cluster
-## Attributes Reference
+
+### Nested Schema for `acl`
-In addition to all above arguments, the following attributes are exported:
+Read-Only:
-- `id` - The ID of the Redis cluster.
+- `description` (String)
+- `id` (String)
+- `ip` (String)
-~> **Important:** Redis clusters' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
+
+
+### Nested Schema for `private_network`
+
+Read-Only:
+
+- `endpoint_id` (String)
+- `id` (String)
+- `service_ips` (List of String)
+- `zone` (String)
+
+
+
+### Nested Schema for `public_network`
+
+Read-Only:
+
+- `id` (String)
+- `ips` (List of String)
+- `port` (Number)
diff --git a/docs/data-sources/registry_image.md b/docs/data-sources/registry_image.md
index 528f5a57f..ace6a5bd7 100644
--- a/docs/data-sources/registry_image.md
+++ b/docs/data-sources/registry_image.md
@@ -1,51 +1,33 @@
---
-subcategory: "Container Registry"
-page_title: "Scaleway: scaleway_registry_image"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_registry_image Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_registry_image
+# scaleway_registry_image (Data Source)
-Gets information about a registry image.
-## Example Usage
-```hcl
-# Get info by image name
-data "scaleway_registry_image" "my_image" {
- name = "my-image-name"
-}
-# Get info by image ID
-data "scaleway_registry_image" "my_image" {
- image_id = "11111111-1111-1111-1111-111111111111"
- namespace_id = "11111111-1111-1111-1111-111111111111" # Optional
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - (Optional) The image name.
- Only one of `name` and `image_id` should be specified.
+### Optional
-- `image_id` - (Optional) The image ID.
- Only one of `name` and `image_id` should be specified.
+- `image_id` (String) The ID of the registry image
+- `name` (String) The name of the registry image
+- `namespace_id` (String) The namespace ID of the registry image
+- `project_id` (String) The project_id you want to attach the resource to
+- `region` (String) The region you want to attach the resource to
+- `tags` (List of String) The tags associated with the registry image
-- `namespace_id` - (Optional) The namespace ID in which the image is.
+### Read-Only
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the image exists.
-
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the image is associated with.
-
-## Attributes Reference
-
-In addition to all above arguments, the following attributes are exported:
-
-- `id` - The ID of the registry image.
-
-~> **Important:** Registry images' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
-
-- `size` - The size of the registry image.
-- `visibility` - The privacy policy of the registry image.
-- `tags` - The tags associated with the registry image
-- `organization_id` - The organization ID the image is associated with.
-- `updated_at` - The date the image of the last update
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `size` (Number) The size of the registry image
+- `updated_at` (String)
+- `visibility` (String) The visibility policy of the registry image
diff --git a/docs/data-sources/registry_namespace.md b/docs/data-sources/registry_namespace.md
index e94907cdc..25a4b715b 100644
--- a/docs/data-sources/registry_namespace.md
+++ b/docs/data-sources/registry_namespace.md
@@ -1,46 +1,31 @@
---
-subcategory: "Container Registry"
-page_title: "Scaleway: scaleway_registry_namespace"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_registry_namespace Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_registry_namespace
+# scaleway_registry_namespace (Data Source)
-Gets information about a registry namespace.
-## Example Usage
-```hcl
-// Get info by namespace name
-data "scaleway_registry_namespace" "my_namespace" {
- name = "my-namespace-name"
-}
-// Get info by namespace ID
-data "scaleway_registry_namespace" "my_namespace" {
- namespace_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - (Optional) The namespace name.
- Only one of `name` and `namespace_id` should be specified.
+### Optional
-- `namespace_id` - (Optional) The namespace id.
- Only one of `name` and `namespace_id` should be specified.
+- `name` (String) The name of the container registry namespace
+- `namespace_id` (String) The ID of the registry namespace
+- `project_id` (String) The project_id you want to attach the resource to
+- `region` (String) The region you want to attach the resource to
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the namespace exists.
+### Read-Only
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the namespace is associated with.
-
-## Attributes Reference
-
-In addition to all above arguments, the following attributes are exported:
-
-- `id` - The ID of the Registry Namespace.
-
-~> **Important:** Registry namespaces' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
-
-- `is_public` - The Namespace Privacy Policy: whether or not the images are public.
-- `endpoint` - The endpoint of the Registry Namespace.
-- `organization_id` - The organization ID the namespace is associated with.
+- `description` (String) The description of the container registry namespace
+- `endpoint` (String) The endpoint reachable by docker
+- `id` (String) The ID of this resource.
+- `is_public` (Boolean) Define the default visibity policy
+- `organization_id` (String) The organization_id you want to attach the resource to
diff --git a/docs/data-sources/secret.md b/docs/data-sources/secret.md
index 075e72705..6c64d8b1e 100644
--- a/docs/data-sources/secret.md
+++ b/docs/data-sources/secret.md
@@ -1,54 +1,35 @@
---
-subcategory: "Secrets"
-page_title: "Scaleway: scaleway_secret"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_secret Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_secret
+# scaleway_secret (Data Source)
-Gets information about Scaleway Secrets.
-For more information, see [the documentation](https://developers.scaleway.com/en/products/secret_manager/api/v1alpha1/).
-## Examples
-### Basic
-```hcl
-resource "scaleway_secret" "main" {
- name = "foo"
- description = "barr"
-}
-// Get info by secret ID
-data "scaleway_secret" "my_secret" {
- secret_id = "11111111-1111-1111-1111-111111111111"
-}
+
+## Schema
-// Get info by secret Name
-data "scaleway_secret" "by_name" {
- name = "your_secret_name"
-}
-```
+### Optional
-## Argument Reference
+- `name` (String) The secret name
+- `organization_id` (String) ID of organization the resource is associated to.
+- `path` (String) Location of the secret in the directory structure.
+- `project_id` (String) The project ID the resource is associated to
+- `region` (String) The region you want to attach the resource to
+- `secret_id` (String) The ID of the secret
-- `name` - (Optional) The secret name.
- Only one of `name` and `secret_id` should be specified.
+### Read-Only
-- `path` - (Optional) The secret path.
- Conflicts with `secret_id`.
-
-- `secret_id` - (Optional) The secret id.
- Only one of `name` and `secret_id` should be specified.
-
-- `organization_id` - (Optional) The organization ID the Project is associated with.
- If no default organization_id is set, one must be set explicitly in this datasource
-
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the secret exists.
-
-- `project_id` - (Optional. Defaults to [provider](../index.md#project_id) `project_id`) The ID of the
- project the secret is associated with.
-
-
-## Attributes Reference
-
-Exported attributes are the ones from `scaleway_secret` [resource](../resources/secret.md)
+- `created_at` (String) Date and time of secret's creation (RFC 3339 format)
+- `description` (String) Description of the secret
+- `id` (String) The ID of this resource.
+- `status` (String) Status of the secret
+- `tags` (List of String) List of tags ["tag1", "tag2", ...] associated to secret
+- `updated_at` (String) Date and time of secret's creation (RFC 3339 format)
+- `version_count` (Number) The number of versions for this Secret
diff --git a/docs/data-sources/secret_version.md b/docs/data-sources/secret_version.md
index ae27a6b13..96e606f07 100644
--- a/docs/data-sources/secret_version.md
+++ b/docs/data-sources/secret_version.md
@@ -1,86 +1,33 @@
---
-subcategory: "Secrets"
-page_title: "Scaleway: scaleway_secret_version"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_secret_version Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_secret_version
+# scaleway_secret_version (Data Source)
-Gets information about Scaleway a Secret Version.
-For more information, see [the documentation](https://developers.scaleway.com/en/products/secret_manager/api/v1alpha1/#secret-versions-079501).
-## Examples
-### Basic
-```hcl
-resource "scaleway_secret" "main" {
- name = "fooii"
- description = "barr"
-}
-resource "scaleway_secret_version" "main" {
- description = "your description"
- secret_id = scaleway_secret.main.id
- data = "your_secret"
-}
+
+## Schema
-data "scaleway_secret_version" "data_by_secret_id" {
- secret_id = scaleway_secret.main.id
- revision = "1"
- depends_on = [scaleway_secret_version.main]
-}
+### Optional
-data "scaleway_secret_version" "data_by_secret_name" {
- secret_name = scaleway_secret.main.name
- revision = "1"
- depends_on = [scaleway_secret_version.main]
-}
+- `project_id` (String) The ID of the project to filter the secret version
+- `region` (String) The region you want to attach the resource to
+- `revision` (String) The revision of secret version
+- `secret_id` (String) The ID of the secret
+- `secret_name` (String) The Name of the secret
-#Output Sensitive data
-output "scaleway_secret_access_payload" {
- value = data.scaleway_secret_version.data_by_secret_name.data
-}
+### Read-Only
-#Output Sensitive data
-output "scaleway_secret_access_payload_by_id" {
- value = data.scaleway_secret_version.data_by_secret_id.data
-}
-```
-
-## Arguments Reference
-
-The following arguments are supported:
-
-- `secret_id` - (Optional) The Secret ID associated wit the secret version.
- Only one of `secret_id` and `secret_name` should be specified.
-
-- `secret_name` - (Optional) The Name of Secret associated wit the secret version.
- Only one of `secret_id` and `secret_name` should be specified.
-
-- `revision` - The revision for this Secret Version.
-
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions)
- in which the resource exists.
-
-- `project_id` - (Optional) The ID of the project the Secret version is associated with.
-
-## Data
-
-Note: This Data Source give you **access** to the secret payload encoded en base64.
-
-Be aware that this is a sensitive attribute. For more information,
-see [Sensitive Data in State](https://developer.hashicorp.com/terraform/language/state/sensitive-data).
-
-~> **Important:** This property is sensitive and will not be displayed in the plan.
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `description` - (Optional) Description of the secret version (e.g. `my-new-description`).
-- `data` - The data payload of the secret version. more on the [data section](#data)
-- `status` - The status of the Secret Version.
-- `created_at` - Date and time of secret version's creation (RFC 3339 format).
-- `updated_at` - Date and time of secret version's last update (RFC 3339 format).
-
-Exported attributes are the ones from `scaleway_secret_version` [resource](../resources/secret_version.md)
+- `created_at` (String) Date and time of secret version's creation (RFC 3339 format)
+- `data` (String, Sensitive) The payload of the secret version
+- `description` (String) Description of the secret version
+- `id` (String) The ID of this resource.
+- `status` (String) Status of the secret version
+- `updated_at` (String) Date and time of secret version's creation (RFC 3339 format)
diff --git a/docs/data-sources/tem_domain.md b/docs/data-sources/tem_domain.md
index deaa07f7f..452e93a1e 100644
--- a/docs/data-sources/tem_domain.md
+++ b/docs/data-sources/tem_domain.md
@@ -1,38 +1,56 @@
---
-subcategory: "Transactional Email"
-page_title: "Scaleway: scaleway_tem_domain"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_tem_domain Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_tem_domain
+# scaleway_tem_domain (Data Source)
-Gets information about a transactional email domain.
-## Example Usage
-```hcl
-// Get info by domain name
-data "scaleway_tem_domain" "my_domain" {
- name = "example.com"
-}
-// Get info by domain ID
-data "scaleway_tem_domain" "my_domain" {
- domain_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - (Optional) The domain name.
- Only one of `name` and `domain_id` should be specified.
+### Optional
-- `domain_id` - (Optional) The domain id.
- Only one of `name` and `domain_id` should be specified.
+- `domain_id` (String) The ID of the tem domain
+- `name` (String) The domain name used when sending emails
+- `project_id` (String) The project_id you want to attach the resource to
+- `region` (String) The region you want to attach the resource to
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the domain exists.
+### Read-Only
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the domain is associated with.
+- `accept_tos` (Boolean) Accept the Scaleway Terms of Service
+- `created_at` (String) Date and time of domain's creation (RFC 3339 format)
+- `dkim_config` (String) DKIM public key, as should be recorded in the DNS zone
+- `id` (String) The ID of this resource.
+- `last_error` (String) Error message if the last check failed
+- `last_valid_at` (String) Date and time the domain was last found to be valid (RFC 3339 format)
+- `mx_blackhole` (String) The Scaleway's blackhole MX server to use
+- `next_check_at` (String) Date and time of the next scheduled check (RFC 3339 format)
+- `reputation` (List of Object) The domain's reputation (see [below for nested schema](#nestedatt--reputation))
+- `revoked_at` (String) Date and time of the revocation of the domain (RFC 3339 format)
+- `smtp_host` (String) SMTP host to use to send emails
+- `smtp_port` (Number) SMTP port to use to send emails over TLS. (Port 587)
+- `smtp_port_alternative` (Number) SMTP port to use to send emails over TLS. (Port 2587)
+- `smtp_port_unsecure` (Number) SMTP port to use to send emails. (Port 25)
+- `smtps_auth_user` (String) SMTPS auth user refers to the identifier for a user authorized to send emails via SMTPS, ensuring secure email transmission
+- `smtps_port` (Number) SMTPS port to use to send emails over TLS Wrapper. (Port 465)
+- `smtps_port_alternative` (Number) SMTPS port to use to send emails over TLS Wrapper. (Port 2465)
+- `spf_config` (String) Snippet of the SPF record that should be registered in the DNS zone
+- `status` (String) Status of the domain
-## Attributes Reference
+
+### Nested Schema for `reputation`
-Exported attributes are the ones from `scaleway_tem_domain` [resource](../resources/tem_domain.md)
+Read-Only:
+
+- `previous_score` (Number)
+- `previous_scored_at` (String)
+- `score` (Number)
+- `scored_at` (String)
+- `status` (String)
diff --git a/docs/data-sources/vpc.md b/docs/data-sources/vpc.md
index 2e73f528a..a9ca752d7 100644
--- a/docs/data-sources/vpc.md
+++ b/docs/data-sources/vpc.md
@@ -1,40 +1,32 @@
---
-subcategory: "VPC"
-page_title: "Scaleway: scaleway_vpc"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_vpc Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_vpc
+# scaleway_vpc (Data Source)
-Gets information about a Scaleway Virtual Private Cloud.
-## Example Usage
-```hcl
-# Get info by name
-data "scaleway_vpc" "by_name" {
- name = "foobar"
-}
-# Get info by ID
-data "scaleway_vpc" "by_id" {
- vpc_id = "11111111-1111-1111-1111-111111111111"
-}
-# Get default VPC info
-data "scaleway_vpc" "default" {
- is_default = true
-}
-```
+
+## Schema
-## Argument Reference
+### Optional
-* `name` - (Optional) Name of the VPC. One of `name` and `vpc_id` should be specified.
-* `vpc_id` - (Optional) ID of the VPC. One of `name` and `vpc_id` should be specified.
-* `is_default` - (Optional) To get default VPC's information.
-* `organization_id` - The ID of the organization the VPC is associated with.
-* `project_id` - (Optional. Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the VPC is associated with.
+- `is_default` (Boolean) Defines whether the VPC is the default one for its Project
+- `name` (String) The name of the VPC
+- `organization_id` (String) ID of organization the resource is associated to.
+- `project_id` (String) The project ID the resource is associated to
+- `region` (String) The region you want to attach the resource to
+- `vpc_id` (String) The ID of the VPC
-## Attributes Reference
-
-Exported attributes are the ones from `scaleway_vpc` [resource](../resources/vpc.md)
+### Read-Only
+- `created_at` (String) The date and time of the creation of the private network
+- `id` (String) The ID of this resource.
+- `tags` (List of String) The tags associated with the VPC
+- `updated_at` (String) The date and time of the last update of the private network
diff --git a/docs/data-sources/vpc_gateway_network.md b/docs/data-sources/vpc_gateway_network.md
index f703c8aac..11b792bca 100644
--- a/docs/data-sources/vpc_gateway_network.md
+++ b/docs/data-sources/vpc_gateway_network.md
@@ -1,44 +1,45 @@
---
-subcategory: "VPC"
-page_title: "Scaleway: scaleway_vpc_gateway_network"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_vpc_gateway_network Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_vpc_gateway_network
+# scaleway_vpc_gateway_network (Data Source)
-Gets information about a gateway network.
-## Example Usage
-```hcl
-resource "scaleway_vpc_gateway_network" "main" {
- gateway_id = scaleway_vpc_public_gateway.pg01.id
- private_network_id = scaleway_vpc_private_network.pn01.id
- dhcp_id = scaleway_vpc_public_gateway_dhcp.dhcp01.id
- cleanup_dhcp = true
- enable_masquerade = true
-}
-data scaleway_vpc_gateway_network by_id {
- gateway_network_id = scaleway_vpc_gateway_network.main.id
-}
-data scaleway_vpc_gateway_network by_gateway_and_pn {
- gateway_id = scaleway_vpc_public_gateway.pg01.id
- private_network_id = scaleway_vpc_private_network.pn01.id
-}
-```
+
+## Schema
-## Argument Reference
+### Optional
-* `gateway_network_id` - (Optional) ID of the gateway network.
+- `dhcp_id` (String) The ID of the public gateway DHCP config
+- `enable_masquerade` (Boolean) Enable masquerade on this network
+- `gateway_id` (String) The ID of the public gateway where connect to
+- `gateway_network_id` (String) The ID of the gateway network
+- `private_network_id` (String) The ID of the private network where connect to
-~> Only one of `gateway_network_id` or filters should be specified. You can use all the filters you want.
+### Read-Only
-* `gateway_id` - (Optional) ID of the public gateway the gateway network is linked to
-* `private_network_id` - (Optional) ID of the private network the gateway network is linked to
-* `enable_masquerade` - (Optional) If masquerade is enabled on requested network
-* `dhcp_id` - (Optional) ID of the public gateway DHCP config
+- `cleanup_dhcp` (Boolean) Remove DHCP config on this network on destroy
+- `created_at` (String) The date and time of the creation of the gateway network
+- `enable_dhcp` (Boolean) Enable DHCP config on this network
+- `id` (String) The ID of this resource.
+- `ipam_config` (List of Object) Auto-configure the Gateway Network using Scaleway's IPAM (IP address management service) (see [below for nested schema](#nestedatt--ipam_config))
+- `mac_address` (String) The mac address on this network
+- `static_address` (String) The static IP address in CIDR on this network
+- `status` (String) The status of the Public Gateway's connection to the Private Network
+- `updated_at` (String) The date and time of the last update of the gateway network
+- `zone` (String) The zone you want to attach the resource to
-## Attributes Reference
+
+### Nested Schema for `ipam_config`
-Exported attributes are the attributes of the [resource](../resources/vpc_gateway_network.md)
+Read-Only:
+
+- `ipam_ip_id` (String)
+- `push_default_route` (Boolean)
diff --git a/docs/data-sources/vpc_private_network.md b/docs/data-sources/vpc_private_network.md
index f8e87e560..f402f50a3 100644
--- a/docs/data-sources/vpc_private_network.md
+++ b/docs/data-sources/vpc_private_network.md
@@ -1,45 +1,63 @@
---
-subcategory: "VPC"
-page_title: "Scaleway: scaleway_vpc_private_network"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_vpc_private_network Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_vpc_private_network
+# scaleway_vpc_private_network (Data Source)
-Gets information about a private network.
-## Example Usage
-```hcl
-# Get info by name
-data "scaleway_vpc_private_network" "my_name" {
- name = "foobar"
-}
-# Get info by name and VPC ID
-data "scaleway_vpc_private_network" "my_name_and_vpc_id" {
- name = "foobar"
- vpc_id = "11111111-1111-1111-1111-111111111111"
-}
-# Get info by IP ID
-data "scaleway_vpc_private_network" "my_id" {
- private_network_id = "11111111-1111-1111-1111-111111111111"
-}
-```
+
+## Schema
-## Argument Reference
+### Optional
-- `name` - (Optional) Name of the private network. Cannot be used with `private_network_id`.
-- `vpc_id` - (Optional) ID of the VPC in which the private network is. Cannot be used with `private_network_id`.
-- `private_network_id` - (Optional) ID of the private network. Cannot be used with `name` and `vpc_id`.
-- `project_id` - (Optional) The ID of the project the private network is associated with.
+- `name` (String) The name of the private network
+- `private_network_id` (String) The ID of the private network
+- `project_id` (String) The project_id you want to attach the resource to
+- `vpc_id` (String) The ID of the vpc to which the private network belongs to
-## Attributes Reference
+### Read-Only
-In addition to all above arguments, the following attributes are exported:
+- `created_at` (String) The date and time of the creation of the private network
+- `id` (String) The ID of this resource.
+- `ipv4_subnet` (List of Object) The IPv4 subnet associated with the private network (see [below for nested schema](#nestedatt--ipv4_subnet))
+- `ipv6_subnets` (Set of Object) The IPv6 subnet associated with the private network (see [below for nested schema](#nestedatt--ipv6_subnets))
+- `is_regional` (Boolean) Defines whether the private network is Regional. By default, it will be Zonal
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `region` (String) The region you want to attach the resource to
+- `tags` (List of String) The tags associated with private network
+- `updated_at` (String) The date and time of the last update of the private network
+- `zone` (String) The zone you want to attach the resource to
-- `id` - The ID of the private network.
-- `ipv4_subnet` - The IPv4 subnet associated with the private network.
-- `ipv6_subnets` - The IPv6 subnets associated with the private network.
+
+### Nested Schema for `ipv4_subnet`
-~> **Important:** Private networks' IDs are [zoned](../guides/regions_and_zones.md#resource-ids) or [regional](../guides/regions_and_zones.md#resource-ids) if using beta, which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111` or `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111
+Read-Only:
+
+- `address` (String)
+- `created_at` (String)
+- `id` (String)
+- `prefix_length` (Number)
+- `subnet` (String)
+- `subnet_mask` (String)
+- `updated_at` (String)
+
+
+
+### Nested Schema for `ipv6_subnets`
+
+Read-Only:
+
+- `address` (String)
+- `created_at` (String)
+- `id` (String)
+- `prefix_length` (Number)
+- `subnet` (String)
+- `subnet_mask` (String)
+- `updated_at` (String)
diff --git a/docs/data-sources/vpc_public_gateway.md b/docs/data-sources/vpc_public_gateway.md
index fe3ef4571..a69d8a8c3 100644
--- a/docs/data-sources/vpc_public_gateway.md
+++ b/docs/data-sources/vpc_public_gateway.md
@@ -1,42 +1,38 @@
---
-subcategory: "VPC"
-page_title: "Scaleway: scaleway_vpc_public_gateway"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_vpc_public_gateway Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_vpc_public_gateway
+# scaleway_vpc_public_gateway (Data Source)
-Gets information about a public gateway.
-## Example Usage
-```hcl
-resource "scaleway_vpc_public_gateway" "main" {
- name = "demo"
- type = "VPC-GW-S"
- zone = "nl-ams-1"
-}
-data "scaleway_vpc_public_gateway" "pg_test_by_name" {
- name = "${scaleway_vpc_public_gateway.main.name}"
- zone = "nl-ams-1"
-}
-data "scaleway_vpc_public_gateway" "pg_test_by_id" {
- public_gateway_id = "${scaleway_vpc_public_gateway.main.id}"
-}
-```
+
+## Schema
-## Argument Reference
+### Optional
-- `name` - (Required) Exact name of the public gateway.
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which
- the public gateway should be created.
-- `project_id` - (Optional) The ID of the project the public gateway is associated with.
+- `name` (String) name of the gateway
+- `project_id` (String) The project_id you want to attach the resource to
+- `public_gateway_id` (String) The ID of the public gateway
+- `zone` (String) The zone you want to attach the resource to
-## Attributes Reference
+### Read-Only
-In addition to all above arguments, the following attributes are exported:
-
-- `id` - The ID of the public gateway.
-
-~> **Important:** Public gateways' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
+- `bastion_enabled` (Boolean) Enable SSH bastion on the gateway
+- `bastion_port` (Number) Port of the SSH bastion
+- `created_at` (String) The date and time of the creation of the public gateway
+- `enable_smtp` (Boolean) Enable SMTP on the gateway
+- `id` (String) The ID of this resource.
+- `ip_id` (String) attach an existing IP to the gateway
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `status` (String) The status of the public gateway
+- `tags` (List of String) The tags associated with public gateway
+- `type` (String) gateway type
+- `updated_at` (String) The date and time of the last update of the public gateway
+- `upstream_dns_servers` (List of String) override the gateway's default recursive DNS servers, if DNS features are enabled
diff --git a/docs/data-sources/vpc_public_gateway_dhcp.md b/docs/data-sources/vpc_public_gateway_dhcp.md
index 9f13af6a5..bd829a068 100644
--- a/docs/data-sources/vpc_public_gateway_dhcp.md
+++ b/docs/data-sources/vpc_public_gateway_dhcp.md
@@ -1,32 +1,42 @@
---
-subcategory: "VPC"
-page_title: "Scaleway: scaleway_vpc_public_gateway_dhcp"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_vpc_public_gateway_dhcp Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_vpc_public_gateway_dhcp
+# scaleway_vpc_public_gateway_dhcp (Data Source)
-Gets information about a public gateway DHCP.
-## Example Usage
-```hcl
-resource "scaleway_vpc_public_gateway_dhcp" "main" {
- subnet = "192.168.0.0/24"
-}
-data "scaleway_vpc_public_gateway_dhcp" "dhcp_by_id" {
- dhcp_id = "${scaleway_vpc_public_gateway_dhcp.main.id}"
-}
-```
-## Argument Reference
+
+## Schema
+### Required
-## Attributes Reference
+- `dhcp_id` (String) The ID of the public gateway DHCP configuration
-In addition to all above arguments, the following attributes are exported:
-
-- `id` - The ID of the public gateway DHCP config.
-
-~> **Important:** Public gateway DHCP configs' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
+### Read-Only
+- `address` (String) The address of the DHCP server. This will be the gateway's address in the private network. Defaults to the first address of the subnet
+- `created_at` (String) The date and time of the creation of the public gateway.
+- `dns_local_name` (String) TLD given to hostnames in the Private Network. Allowed characters are `a-z0-9-.`. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to `priv`.
+- `dns_search` (List of String) Additional DNS search paths.
+- `dns_servers_override` (List of String) Override the DNS server list pushed to DHCP clients, instead of the gateway itself.
+- `enable_dynamic` (Boolean) Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be handed out. Defaults to true.
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `pool_high` (String) High IP (included) of the dynamic address pool. Defaults to the last address of the subnet.
+- `pool_low` (String) Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
+- `project_id` (String) The project_id you want to attach the resource to
+- `push_default_route` (Boolean) Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to true.
+- `push_dns_server` (Boolean) Whether the gateway should push custom DNS servers to clients. This allows for instance hostname -> IP resolution. Defaults to true.
+- `rebind_timer` (Number) After how long, in seconds, a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than `valid_lifetime`. Defaults to 51m (3060s).
+- `renew_timer` (Number) After how long, in seconds, a renew will be attempted. Must be 30s lower than `rebind_timer`. Defaults to 50m (3000s).
+- `subnet` (String) Subnet for the DHCP server
+- `updated_at` (String) The date and time of the last update of the public gateway.
+- `valid_lifetime` (Number) For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s).
+- `zone` (String) The zone you want to attach the resource to
diff --git a/docs/data-sources/vpc_public_gateway_dhcp_reservation.md b/docs/data-sources/vpc_public_gateway_dhcp_reservation.md
index d30cc3931..14fc4b545 100644
--- a/docs/data-sources/vpc_public_gateway_dhcp_reservation.md
+++ b/docs/data-sources/vpc_public_gateway_dhcp_reservation.md
@@ -1,138 +1,33 @@
---
-subcategory: "VPC"
-page_title: "Scaleway: scaleway_vpc_public_gateway_dhcp_reservation"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_vpc_public_gateway_dhcp_reservation Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_vpc_public_gateway_dhcp_reservation
+# scaleway_vpc_public_gateway_dhcp_reservation (Data Source)
-Gets information about a dhcp entries. For further information please check the
-API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#dhcp-entries-e40fb6)
-## Example Dynamic
-```terraform
-resource "scaleway_vpc_private_network" "main" {
-}
-resource "scaleway_instance_server" "main" {
- image = "ubuntu_jammy"
- type = "DEV1-S"
- zone = "fr-par-1"
-}
-resource "scaleway_instance_private_nic" "main" {
- server_id = scaleway_instance_server.main.id
- private_network_id = scaleway_vpc_private_network.main.id
-}
+
+## Schema
-resource "scaleway_vpc_public_gateway_ip" "main" {
-}
+### Optional
-resource "scaleway_vpc_public_gateway_dhcp" "main" {
- subnet = "192.168.1.0/24"
-}
+- `gateway_network_id` (String) The ID of the owning GatewayNetwork (UUID format).
+- `mac_address` (String) The MAC address to give a static entry to.
+- `reservation_id` (String) The ID of dhcp entry reservation
+- `wait_for_dhcp` (Boolean) Wait the MAC address in dhcp entries
+- `zone` (String) The zone you want to attach the resource to
-resource "scaleway_vpc_public_gateway" "main" {
- name = "foobar"
- type = "VPC-GW-S"
- ip_id = scaleway_vpc_public_gateway_ip.main.id
-}
+### Read-Only
-resource "scaleway_vpc_gateway_network" "main" {
- gateway_id = scaleway_vpc_public_gateway.main.id
- private_network_id = scaleway_vpc_private_network.main.id
- dhcp_id = scaleway_vpc_public_gateway_dhcp.main.id
- cleanup_dhcp = true
- enable_masquerade = true
-}
-
-## Retrieve the dynamic entries generated by mac address & gateway network
-data "scaleway_vpc_public_gateway_dhcp_reservation" "by_mac_address_and_gw_network" {
- mac_address = scaleway_instance_private_nic.main.mac_address
- gateway_network_id = scaleway_vpc_gateway_network.main.id
-}
-```
-
-## Example Static and PAT rule
-
-```terraform
-resource "scaleway_vpc_private_network" "main" {}
-
-resource "scaleway_instance_security_group" "main" {
- inbound_default_policy = "drop"
- outbound_default_policy = "accept"
-
- inbound_rule {
- action = "accept"
- port = "22"
- }
-}
-
-resource "scaleway_instance_server" "main" {
- image = "ubuntu_jammy"
- type = "DEV1-S"
- zone = "fr-par-1"
-
- security_group_id = scaleway_instance_security_group.main.id
-}
-
-resource "scaleway_instance_private_nic" "main" {
- server_id = scaleway_instance_server.main.id
- private_network_id = scaleway_vpc_private_network.main.id
-}
-
-resource "scaleway_vpc_public_gateway_ip" "main" {
-}
-
-resource "scaleway_vpc_public_gateway_dhcp" "main" {
- subnet = "192.168.1.0/24"
-}
-
-resource "scaleway_vpc_public_gateway" "main" {
- name = "foobar"
- type = "VPC-GW-S"
- ip_id = scaleway_vpc_public_gateway_ip.main.id
-}
-
-resource "scaleway_vpc_gateway_network" "main" {
- gateway_id = scaleway_vpc_public_gateway.main.id
- private_network_id = scaleway_vpc_private_network.main.id
- dhcp_id = scaleway_vpc_public_gateway_dhcp.main.id
- cleanup_dhcp = true
- enable_masquerade = true
-}
-
-resource "scaleway_vpc_public_gateway_dhcp_reservation" "main" {
- gateway_network_id = scaleway_vpc_gateway_network.main.id
- mac_address = scaleway_instance_private_nic.main.mac_address
- ip_address = "192.168.1.4"
-}
-
-### VPC PAT RULE
-resource "scaleway_vpc_public_gateway_pat_rule" "main" {
- gateway_id = scaleway_vpc_public_gateway.main.id
- private_ip = scaleway_vpc_public_gateway_dhcp_reservation.main.ip_address
- private_port = 22
- public_port = 2222
- protocol = "tcp"
-}
-
-data "scaleway_vpc_public_gateway_dhcp_reservation" "by_id" {
- reservation_id = scaleway_vpc_public_gateway_dhcp_reservation.main.id
-}
-```
-
-## Argument Reference
-
-- `reservation_id` (Optional) The ID of the Reservation to retrieve.
-- `mac_address` (Optional) The MAC address of the reservation to retrieve.
-- `gateway_network_id` (Optional) The ID of the owning GatewayNetwork.
-
-~> Only one of `reservation_id` or `mac_address` with `gateway_network_id` should be specified.
-
-- `wait_for_dhcp` (Optional) Boolean to wait for mac_address to exist in dhcp.
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the image exists.
-
-## Attributes Reference
-
-Exported attributes are the ones from `scaleway_vpc_public_gateway_dhcp_reservation` [resource](../resources/vpc_public_gateway_dhcp_reservation.md)
+- `created_at` (String) The configuration creation date.
+- `hostname` (String) The Hostname of the client machine.
+- `id` (String) The ID of this resource.
+- `ip_address` (String) The IP address to give to the machine (IPv4 address).
+- `type` (String) The reservation type, either static (DHCP reservation) or dynamic (DHCP lease). Possible values are reservation and lease
+- `updated_at` (String) The configuration last modification date.
diff --git a/docs/data-sources/vpc_public_gateway_ip.md b/docs/data-sources/vpc_public_gateway_ip.md
index 326f2ce17..4f9a5d6ab 100644
--- a/docs/data-sources/vpc_public_gateway_ip.md
+++ b/docs/data-sources/vpc_public_gateway_ip.md
@@ -1,31 +1,32 @@
---
-subcategory: "VPC"
-page_title: "Scaleway: scaleway_vpc_public_gateway_ip"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_vpc_public_gateway_ip Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_vpc_public_gateway_ip
+# scaleway_vpc_public_gateway_ip (Data Source)
-Gets information about a public gateway IP.
-For further information please check the API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#get-66f0c0)
-## Example Usage
-```hcl
-resource "scaleway_vpc_public_gateway_ip" "main" {
-}
-data "scaleway_vpc_public_gateway_ip" "ip_by_id" {
- ip_id = "${scaleway_vpc_public_gateway_ip.main.id}"
-}
-```
+
+## Schema
-## Argument Reference
+### Optional
-## Attributes Reference
+- `ip_id` (String) The ID of the IP
-In addition to all above arguments, the following attributes are exported:
+### Read-Only
-- `id` - The ID of the public gateway IP.
-
-~> **Important:** Public gateway IPs' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
+- `address` (String) the IP itself
+- `created_at` (String) The date and time of the creation of the public gateway IP
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `project_id` (String) The project_id you want to attach the resource to
+- `reverse` (String) reverse domain name for the IP address
+- `tags` (List of String) The tags associated with public gateway IP
+- `updated_at` (String) The date and time of the last update of the public gateway IP
+- `zone` (String) The zone you want to attach the resource to
diff --git a/docs/data-sources/vpc_public_gateway_pat_rule.md b/docs/data-sources/vpc_public_gateway_pat_rule.md
index bfa61ae31..035de43b1 100644
--- a/docs/data-sources/vpc_public_gateway_pat_rule.md
+++ b/docs/data-sources/vpc_public_gateway_pat_rule.md
@@ -1,98 +1,36 @@
---
-subcategory: "VPC"
-page_title: "Scaleway: scaleway_vpc_public_gateway_pat_rule"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_vpc_public_gateway_pat_rule Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_vpc_public_gateway_pat_rule
+# scaleway_vpc_public_gateway_pat_rule (Data Source)
-Gets information about a public gateway PAT rule. For further information please check the
-API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#get-8faeea)
-## Example Usage
-```terraform
-resource "scaleway_instance_security_group" "sg01" {
- inbound_default_policy = "drop"
- outbound_default_policy = "accept"
- inbound_rule {
- action = "accept"
- port = 22
- protocol = "TCP"
- }
-}
-resource "scaleway_instance_server" "srv01" {
- name = "my-server"
- type = "PLAY2-NANO"
- image = "ubuntu_jammy"
- security_group_id = scaleway_instance_security_group.sg01.id
-}
+
+## Schema
-resource "scaleway_instance_private_nic" "pnic01" {
- server_id = scaleway_instance_server.srv01.id
- private_network_id = scaleway_vpc_private_network.pn01.id
-}
+### Required
-resource "scaleway_vpc_private_network" "pn01" {
- name = "my-pn"
-}
+- `pat_rule_id` (String) The ID of the public gateway PAT rule
-resource "scaleway_vpc_public_gateway_dhcp" "dhcp01" {
- subnet = "192.168.0.0/24"
-}
+### Optional
-resource "scaleway_vpc_public_gateway_ip" "ip01" {}
+- `zone` (String) The zone you want to attach the resource to
-resource "scaleway_vpc_public_gateway" "pg01" {
- name = "my-pg"
- type = "VPC-GW-S"
- ip_id = scaleway_vpc_public_gateway_ip.ip01.id
-}
+### Read-Only
-resource "scaleway_vpc_gateway_network" "gn01" {
- gateway_id = scaleway_vpc_public_gateway.pg01.id
- private_network_id = scaleway_vpc_private_network.pn01.id
- dhcp_id = scaleway_vpc_public_gateway_dhcp.dhcp01.id
- cleanup_dhcp = true
- enable_masquerade = true
-}
-
-resource "scaleway_vpc_public_gateway_dhcp_reservation" "rsv01" {
- gateway_network_id = scaleway_vpc_gateway_network.gn01.id
- mac_address = scaleway_instance_private_nic.pnic01.mac_address
- ip_address = "192.168.0.7"
-}
-
-resource "scaleway_vpc_public_gateway_pat_rule" "pat01" {
- gateway_id = scaleway_vpc_public_gateway.pg01.id
- private_ip = scaleway_vpc_public_gateway_dhcp_reservation.rsv01.ip_address
- private_port = 22
- public_port = 2202
- protocol = "tcp"
-}
-
-data "scaleway_vpc_public_gateway_pat_rule" "main" {
- pat_rule_id = scaleway_vpc_public_gateway_pat_rule.pat01.id
-}
-```
-
-## Argument Reference
-
-- `pat_rule_id` (Required) The ID of the PAT rule to retrieve
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which
- the image exists.
-
-## Attributes Reference
-
-`id` is set to the ID of the found public gateway PAT rule.
-
-~> **Important:** Public gateway PAT rules' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
-
-The following arguments are exported:
-
-- `gateway_id` - The ID of the public gateway.
-- `private_ip` - The Private IP to forward data to (IP address).
-- `public_port` - The Public port to listen on.
-- `private_port` - The Private port to translate to.
-- `protocol` - The Protocol the rule should apply to. Possible values are both, tcp and udp.
+- `created_at` (String) The date and time of the creation of the PAT rule
+- `gateway_id` (String) The ID of the gateway this PAT rule is applied to
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `private_ip` (String) The private IP used in the PAT rule
+- `private_port` (Number) The private port used in the PAT rule
+- `protocol` (String) The protocol used in the PAT rule
+- `public_port` (Number) The public port used in the PAT rule
+- `updated_at` (String) The date and time of the last update of the PAT rule
diff --git a/docs/data-sources/vpcs.md b/docs/data-sources/vpcs.md
index 6ff6a344a..01ac045b6 100644
--- a/docs/data-sources/vpcs.md
+++ b/docs/data-sources/vpcs.md
@@ -1,44 +1,44 @@
---
-subcategory: "VPC"
-page_title: "Scaleway: scaleway_vpcs"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_vpcs Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_vpcs
+# scaleway_vpcs (Data Source)
-Gets information about multiple Virtual Private Clouds.
-## Example Usage
-```hcl
-# Find VPCs that share the same tags
-data "scaleway_vpcs" "my_key" {
- tags = ["tag"]
-}
-# Find VPCs by name and region
-data "scaleway_vpcs" "my_key" {
- name = "tf-vpc-datasource"
- region = "nl-ams"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - (Optional) The VPC name used as filter. VPCs with a name like it are listed.
+### Optional
-- `tags` - (Optional) List of tags used as filter. VPCs with these exact tags are listed.
+- `name` (String) VPCs with a name like it are listed.
+- `project_id` (String) The project_id you want to attach the resource to
+- `region` (String) The region you want to attach the resource to
+- `tags` (List of String) VPCs with these exact tags are listed.
-- `region` - (Defaults to [provider](../index.md#region) `region`). The [region](../guides/regions_and_zones.md#regions) in which vpcs exist.
+### Read-Only
-## Attributes Reference
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `vpcs` (List of Object) (see [below for nested schema](#nestedatt--vpcs))
-In addition to all arguments above, the following attributes are exported:
+
+### Nested Schema for `vpcs`
-- `vpcs` - List of found vpcs
- - `id` - The associated VPC ID.
- ~> **Important:** VPCs' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111
- - `is_default` - Defines whether the VPC is the default one for its Project.
- - `created_at` - Date and time of VPC's creation (RFC 3339 format).
- - `updated_at` - Date and time of VPC's last update (RFC 3339 format).
- - `organization_id` - The organization ID the VPC is associated with.
- - `project_id` - The ID of the project the VPC is associated with.
\ No newline at end of file
+Read-Only:
+
+- `created_at` (String)
+- `id` (String)
+- `is_default` (Boolean)
+- `name` (String)
+- `organization_id` (String)
+- `project_id` (String)
+- `region` (String)
+- `tags` (List of String)
+- `update_at` (String)
diff --git a/docs/data-sources/webhosting.md b/docs/data-sources/webhosting.md
index 148cf3335..4fc596e3c 100644
--- a/docs/data-sources/webhosting.md
+++ b/docs/data-sources/webhosting.md
@@ -1,34 +1,59 @@
---
-subcategory: "Web Hosting"
-page_title: "Scaleway: scaleway_webhosting"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_webhosting Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_webhosting
+# scaleway_webhosting (Data Source)
-Gets information about a webhosting.
-## Example Usage
-```hcl
-# Get info by offer domain
-data "scaleway_webhosting" "by_domain" {
- domain = "foobar.com"
-}
-# Get info by id
-data "scaleway_webhosting" "by_id" {
- webhosting_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
+
+## Schema
-* `domain` - (Optional) The hosting domain name. Only one of `domain` and `webhosting_id` should be specified.
-* `webhosting_id` - (Optional) The hosting id. Only one of `domain` and `webhosting_id` should be specified.
-* `organization_id` - The ID of the organization the hosting is associated with.
-* `project_id` - (Optional. Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the hosting is associated with.
-* `region` - (Defaults to [provider](../index.md#zone) `region`) The [region](../guides/regions_and_zones.md#zones) in which hosting exists.
+### Optional
-## Attributes Reference
+- `domain` (String) The domain name of the hosting
+- `organization_id` (String) ID of organization the resource is associated to.
+- `project_id` (String) The project ID the resource is associated to
+- `webhosting_id` (String) The ID of the Webhosting
-Exported attributes are the ones from `scaleway_webhosting` [resource](../resources/webhosting.md)
+### Read-Only
+
+- `cpanel_urls` (List of Object) URL to connect to cPanel Dashboard and to Webmail interface (see [below for nested schema](#nestedatt--cpanel_urls))
+- `created_at` (String) Date and time of hosting's creation (RFC 3339 format)
+- `dns_status` (String) DNS status of the hosting
+- `email` (String) Contact email of the client for the hosting
+- `id` (String) The ID of this resource.
+- `offer_id` (String) The ID of the selected offer for the hosting
+- `offer_name` (String) Name of the active offer
+- `option_ids` (List of String) IDs of the selected options for the hosting
+- `options` (List of Object) Active options of the hosting (see [below for nested schema](#nestedatt--options))
+- `platform_hostname` (String) Hostname of the host platform
+- `platform_number` (Number) Number of the host platform
+- `region` (String) The region you want to attach the resource to
+- `status` (String) The hosting status
+- `tags` (List of String) The tags of the hosting
+- `updated_at` (String) Date and time of hosting's last update (RFC 3339 format)
+- `username` (String) Main hosting cPanel username
+
+
+### Nested Schema for `cpanel_urls`
+
+Read-Only:
+
+- `dashboard` (String)
+- `webmail` (String)
+
+
+
+### Nested Schema for `options`
+
+Read-Only:
+
+- `id` (String)
+- `name` (String)
diff --git a/docs/data-sources/webhosting_offer.md b/docs/data-sources/webhosting_offer.md
index 51028f746..e9dc2feb8 100644
--- a/docs/data-sources/webhosting_offer.md
+++ b/docs/data-sources/webhosting_offer.md
@@ -1,47 +1,44 @@
---
-subcategory: "Web Hosting"
-page_title: "Scaleway: scaleway_webhosting_offer"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_webhosting_offer Data Source - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# scaleway_webhosting_offer
+# scaleway_webhosting_offer (Data Source)
-Gets information about a webhosting offer.
-## Example Usage
-```hcl
-# Get info by offer name
-data "scaleway_webhosting_offer" "by_name" {
- name = "performance"
-}
-# Get info by offer id
-data "scaleway_webhosting_offer" "by_id" {
- offer_id = "de2426b4-a9e9-11ec-b909-0242ac120002"
-}
-```
-## Argument Reference
+
+## Schema
-- `name` - (Optional) The offer name. Only one of `name` and `offer_id` should be specified.
+### Optional
-- `offer_id` - (Optional) The offer id. Only one of `name` and `offer_id` should be specified.
+- `name` (String) Exact name of the desired offer
+- `offer_id` (String) ID of the desired offer
+- `region` (String) The region you want to attach the resource to
-- `region` - (Defaults to [provider](../index.md#zone) `region`) The [region](../guides/regions_and_zones.md#zones) in which offer exists.
+### Read-Only
-## Attributes Reference
+- `billing_operation_path` (String)
+- `id` (String) The ID of this resource.
+- `price` (String)
+- `product` (List of Object) (see [below for nested schema](#nestedatt--product))
-In addition to all arguments above, the following attributes are exported:
+
+### Nested Schema for `product`
-- `billing_operation_path` - The unique identifier used for billing.
-- `product` - The offer product.
- - `option` - The product option.
- - `email_accounts_quota` - The quota of email accounts.
- - `email_storage_quota` - The quota of email storage.
- - `databases_quota` - The quota of databases.
- - `hosting_storage_quota` - The quota of hosting storage.
- - `support_included` - If support is included.
- - `v_cpu` - The number of cores.
- - `ram` - The capacity of the memory in GB.
-- `price` - The offer price.
+Read-Only:
+- `databases_quota` (Number)
+- `email_accounts_quota` (Number)
+- `email_storage_quota` (Number)
+- `hosting_storage_quota` (Number)
+- `name` (String)
+- `option` (Boolean)
+- `ram` (Number)
+- `support_included` (Boolean)
+- `v_cpu` (Number)
diff --git a/docs/index.md b/docs/index.md
index 27a700e9d..e4c929f2a 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -1,284 +1,27 @@
---
-page_title: "Provider: Scaleway"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway Provider"
+subcategory: ""
+description: |-
+
---
-# Scaleway Provider
+# scaleway Provider
-The Scaleway provider is used to manage Scaleway resources.
-The provider needs to be configured with the proper credentials before it can be used.
-**This is the documentation for the version `>= 1.11.0` of the provider. If you come from `< v1.11.0`, checkout to [migration guide](./guides/migration_guide_v2.md).**
-Use the navigation to the left to read about the available resources.
-## Terraform 0.13 and later
-For Terraform 0.13 and later, please also include this:
+
+## Schema
-```hcl
-terraform {
- required_providers {
- scaleway = {
- source = "scaleway/scaleway"
- }
- }
- required_version = ">= 0.13"
-}
-```
+### Optional
-## Example
-
-Here is an example that will set up a web server with an additional volume, a public IP and a security group.
-
-You can test this config by creating a `test.tf` and run terraform commands from this directory:
-
-- Get your [Scaleway credentials](https://console.scaleway.com/iam/api-keys)
-- Get your [project ID](https://console.scaleway.com/project/settings)
-- Initialize a Terraform working directory: `terraform init`
-- Generate and show the execution plan: `terraform plan`
-- Build the infrastructure: `terraform apply`
-
-```hcl
-variable "project_id" {
- type = string
- description = "Your project ID."
-}
-
-terraform {
- required_providers {
- scaleway = {
- source = "scaleway/scaleway"
- }
- }
- required_version = ">= 0.13"
-}
-
-provider "scaleway" {
- zone = "fr-par-1"
- region = "fr-par"
-}
-
-resource "scaleway_instance_ip" "public_ip" {
- project_id = var.project_id
-}
-resource "scaleway_instance_ip" "public_ip_backup" {
- project_id = var.project_id
-}
-
-resource "scaleway_instance_volume" "data" {
- project_id = var.project_id
- size_in_gb = 30
- type = "l_ssd"
-}
-
-resource "scaleway_instance_volume" "data_backup" {
- project_id = var.project_id
- size_in_gb = 10
- type = "l_ssd"
-}
-
-resource "scaleway_instance_security_group" "www" {
- project_id = var.project_id
- inbound_default_policy = "drop"
- outbound_default_policy = "accept"
-
- inbound_rule {
- action = "accept"
- port = "22"
- ip_range = "0.0.0.0/0"
- }
-
- inbound_rule {
- action = "accept"
- port = "80"
- }
-
- inbound_rule {
- action = "accept"
- port = "443"
- }
-}
-
-resource "scaleway_instance_server" "web" {
- project_id = var.project_id
- type = "DEV1-L"
- image = "ubuntu_jammy"
-
- tags = ["front", "web"]
-
- ip_id = scaleway_instance_ip.public_ip.id
-
- additional_volume_ids = [scaleway_instance_volume.data.id]
-
- root_volume {
- # The local storage of a DEV1-L instance is 80 GB, subtract 30 GB from the additional l_ssd volume, then the root volume needs to be 50 GB.
- size_in_gb = 50
- }
-
- security_group_id = scaleway_instance_security_group.www.id
-}
-```
-
-## Authentication
-
-The Scaleway authentication is based on an **access key**, and a **secret key**.
-Since secret keys are only revealed one time (when it is first created) you might
-need to create a new one in the section "API Keys" of the [Scaleway console](https://console.scaleway.com/project/credentials).
-Click on the "Generate new API key" button to create them.
-Giving it a friendly-name is recommended.
-
-The Scaleway provider offers three ways of providing these credentials.
-The following methods are supported, in this priority order:
-
-1. [Environment variables](#environment-variables)
-2. [Static credentials](#static-credentials)
-3. [Shared configuration file](#shared-configuration-file)
-
-### Environment variables
-
-You can provide your credentials via the `SCW_ACCESS_KEY`, `SCW_SECRET_KEY` environment variables.
-
-Example:
-
-```hcl
-provider "scaleway" {}
-```
-
-Usage:
-
-```bash
-$ export SCW_ACCESS_KEY="my-access-key"
-$ export SCW_SECRET_KEY="my-secret-key"
-$ terraform plan
-```
-
-### Static credentials
-
-~> **Warning**: Hard-coding credentials into any Terraform configuration is not recommended, and risks secret leakage should this file ever be committed to a public version control system.
-
-Static credentials can be provided by adding `access_key` and `secret_key` attributes in-line in the Scaleway provider block:
-
-Example:
-
-```hcl
-provider "scaleway" {
- access_key = "my-access-key"
- secret_key = "my-secret-key"
-}
-```
-
-### Shared configuration file
-
-It is a YAML configuration file shared between the majority of the
-[Scaleway developer tools](https://developers.scaleway.com/en/community-tools/#official-repos).
-Its default location is `$HOME/.config/scw/config.yaml` (`%USERPROFILE%/.config/scw/config.yaml` on Windows).
-If it fails to detect credentials inline, or in the environment, Terraform will check this file.
-
-You can optionally specify a different location with `SCW_CONFIG_PATH` environment variable.
-You can find more information about this configuration [in the documentation](https://github.com/scaleway/scaleway-sdk-go/blob/master/scw/README.md#scaleway-config).
-
-This method also supports a `profile` configuration:
-
-Example:
-
-If your shared configuration file contains:
-
-```yaml
-profiles:
- myProfile:
- access_key: xxxxxxxxxxxxxxxxxxxx
- secret_key: xxxxxxxx-xxx-xxxx-xxxx-xxxxxxxxxxx
- default_organization_id: xxxxxxxx-xxx-xxxx-xxxx-xxxxxxxxxxx
- default_project_id: xxxxxxxx-xxx-xxxx-xxxx-xxxxxxxxxxx
- default_zone: fr-par-2
- default_region: fr-par
- api_url: https://api.scaleway.com
- insecure: false
-```
-
-You can invoke and use this profile in the provider declaration:
-
-```hcl
-provider "scaleway" {
- alias = "p2"
- profile = "myProfile"
-}
-
-resource "scaleway_instance_ip" "server_ip" {
- provider = scaleway.p2
-}
-```
-
-## Arguments Reference
-
-In addition to [generic provider arguments](https://www.terraform.io/docs/configuration/providers.html) (e.g. `alias` and `version`), the following arguments are supported in the Scaleway provider block:
-
-| Provider Argument | [Environment Variables](#environment-variables) | Description | Mandatory |
-| ----------------- | ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | --------- |
-| `access_key` | `SCW_ACCESS_KEY` | [Scaleway access key](https://console.scaleway.com/project/credentials) | ✅ |
-| `secret_key` | `SCW_SECRET_KEY` | [Scaleway secret key](https://console.scaleway.com/project/credentials) | ✅ |
-| `project_id` | `SCW_DEFAULT_PROJECT_ID` | The [project ID](https://console.scaleway.com/project/settings) that will be used as default value for project-scoped resources. | ✅ |
-| `organization_id` | `SCW_DEFAULT_ORGANIZATION_ID` | The [organization ID](https://console.scaleway.com/organization/settings) that will be used as default value for organization-scoped resources. | |
-| `region` | `SCW_DEFAULT_REGION` | The [region](./guides/regions_and_zones.md#regions) that will be used as default value for all resources. (`fr-par` if none specified) | |
-| `zone` | `SCW_DEFAULT_ZONE` | The [zone](./guides/regions_and_zones.md#zones) that will be used as default value for all resources. (`fr-par-1` if none specified) | |
-
-## Store terraform state on Scaleway S3-compatible object storage
-
-[Scaleway object storage](https://www.scaleway.com/en/object-storage/) can be used to store your Terraform state.
-Configure your backend as:
-
-```
-terraform {
- backend "s3" {
- bucket = "terraform-state"
- key = "my_state.tfstate"
- region = "fr-par"
- endpoint = "https://s3.fr-par.scw.cloud"
- access_key = "my-access-key"
- secret_key = "my-secret-key"
- skip_credentials_validation = true
- skip_region_validation = true
- # Need terraform>=1.6.1
- skip_requesting_account_id = true
- }
-}
-```
-
-Be careful as no locking mechanism are yet supported.
-Using scaleway object storage as terraform backend is not suitable if you work in a team with a risk of simultaneous access to the same plan.
-
-Note: For security reason it's not recommended to store secrets in terraform files.
-If you want to configure the backend with environment var, you need to use `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` [source](https://www.terraform.io/docs/backends/types/s3.html#access_key).
-
-```bash
-export AWS_ACCESS_KEY_ID=$SCW_ACCESS_KEY
-export AWS_SECRET_ACCESS_KEY=$SCW_SECRET_KEY
-```
-
-## Custom User-Agent Information
-
-The Scaleway Terraform Provider allows you to append custom information to the User-Agent header of HTTP requests made to the Scaleway API. This can be useful for tracking requests for auditing, logging, or analytics purposes.
-
-To append custom information to the User-Agent header, you can use the `TF_APPEND_USER_AGENT` environment variable. The value you set for this variable will be appended to the User-Agent header of all HTTP requests made by the provider.
-
-For example, to add custom information indicating the request is coming from a specific CI/CD job or system, you could set the environment variable as follows:
-
-```bash
-$ export TF_APPEND_USER_AGENT="CI/CD System XYZ Job #1234"
-```
-
-## Debugging a deployment
-
-In case you want to [debug a deployment](https://www.terraform.io/internals/debugging), you can use the following command to increase the level of verbosity.
-
-`SCW_DEBUG=1 TF_LOG=WARN TF_LOG_PROVIDER=DEBUG terraform apply`
-
-- `SCW_DEBUG`: set the debug level of the scaleway SDK.
-- `TF_LOG`: set the level of the Terraform logging.
-- `TF_LOG_PROVIDER`: set the level of the Scaleway Terraform provider logging.
-
-### Submitting a bug report or a feature request
-
-In case you find something wrong with the scaleway provider, please submit a bug report on the [Terraform provider repository](https://github.com/scaleway/terraform-provider-scaleway/issues/new/choose).
-If it is a bug report, please include a **minimal** snippet of the Terraform configuration that triggered the error.
-This helps a lot to debug the issue.
+- `access_key` (String) The Scaleway access key.
+- `api_url` (String) The Scaleway API URL to use.
+- `organization_id` (String) The Scaleway organization ID.
+- `profile` (String) The Scaleway profile to use.
+- `project_id` (String) The Scaleway project ID.
+- `region` (String) The region you want to attach the resource to
+- `secret_key` (String) The Scaleway secret Key.
+- `zone` (String) The zone you want to attach the resource to
diff --git a/docs/resources/account_project.md b/docs/resources/account_project.md
index 24de7cf64..3a806f305 100644
--- a/docs/resources/account_project.md
+++ b/docs/resources/account_project.md
@@ -1,68 +1,28 @@
---
-subcategory: "Account"
-page_title: "Scaleway: scaleway_account_project"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_account_project Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_account_project
+# scaleway_account_project (Resource)
-Manages organization's projects on Scaleway.
-For more information, see [the documentation](https://www.scaleway.com/en/developers/api/account/project-api/).
-## Example Usage
-### Basic
-```terraform
-resource "scaleway_account_project" "project" {
- name = "project"
-}
-```
-### Use project in provider configuration
+
+## Schema
-If you want to use as default a project created in terraform you can use a temporary provider alias.
-This project can then be used to configure your default provider.
+### Optional
-```terraform
-provider "scaleway" {
- alias = "tmp"
-}
+- `description` (String) Description of the project
+- `name` (String) The name of the project
+- `organization_id` (String) The organization_id you want to attach the resource to
-resource scaleway_account_project "project" {
- provider = scaleway.tmp
- name = "my_project"
-}
+### Read-Only
-provider "scaleway" {
- project_id = scaleway_account_project.project.id
-}
-
-resource "scaleway_instance_server" "server" { // Will use scaleway_account_project.project
- image = "ubuntu_jammy"
- type = "PRO2-XXS"
-}
-```
-
-## Argument Reference
-
-The following arguments are supported:
-
-- `name` - (Optional) The name of the Project.
-- `description` - (Optional) The description of the Project.
-- `organization_id` - (Optional. Defaults to [provider](../index.md#organization_id) `organization_id`)The organization ID the Project is associated with. Please note that any change in `organization_id` will recreate the resource.
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `id` - The ID of the project (UUID format).
-- `created_at` - The Project creation time.
-- `updated_at` - The Project last update time.
-
-## Import
-
-Projects can be imported using the `id`, e.g.
-
-```bash
-$ terraform import scaleway_account_project.project 11111111-1111-1111-1111-111111111111
-```
+- `created_at` (String) The date and time of the creation of the Project (Format ISO 8601)
+- `id` (String) The ID of this resource.
+- `updated_at` (String) The date and time of the last update of the Project (Format ISO 8601)
diff --git a/docs/resources/account_ssh_key.md b/docs/resources/account_ssh_key.md
index a5c26a6ae..23ed0b112 100644
--- a/docs/resources/account_ssh_key.md
+++ b/docs/resources/account_ssh_key.md
@@ -1,42 +1,34 @@
---
-subcategory: "Account"
-page_title: "Scaleway: scaleway_account_ssh_key"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_account_ssh_key Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_account_ssh_key
+# scaleway_account_ssh_key (Resource)
-Manages user SSH keys to access servers provisioned on Scaleway.
-~> **Important:** The resource `scaleway_account_ssh_key` has been deprecated and will no longer be supported. Instead, use `scaleway_iam_ssh_key`.
-## Example Usage
-```terraform
-resource "scaleway_account_ssh_key" "main" {
- name = "main"
- public_key = ""
-}
-```
-## Argument Reference
+
+## Schema
-The following arguments are supported:
+### Required
-- `name` - (Required) The name of the SSH key.
-- `public_key` - (Required) The public SSH key to be added.
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the SSH key is associated with.
+- `public_key` (String) The public SSH key
-## Attributes Reference
+### Optional
-In addition to all arguments above, the following attributes are exported:
+- `disabled` (Boolean) The SSH key status
+- `name` (String) The name of the iam SSH key
+- `project_id` (String) The project_id you want to attach the resource to
-- `id` - The ID of the SSH key (UUID format).
-- `organization_id` - The organization ID the SSH key is associated with.
+### Read-Only
-## Import
-
-SSH keys can be imported using the `id`, e.g.
-
-```bash
-$ terraform import scaleway_account_ssh_key.main 11111111-1111-1111-1111-111111111111
-```
+- `created_at` (String) The date and time of the creation of the iam SSH Key
+- `fingerprint` (String) The fingerprint of the iam SSH key
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `updated_at` (String) The date and time of the last update of the iam SSH Key
diff --git a/docs/resources/apple_silicon_server.md b/docs/resources/apple_silicon_server.md
new file mode 100644
index 000000000..0e09d2dca
--- /dev/null
+++ b/docs/resources/apple_silicon_server.md
@@ -0,0 +1,46 @@
+---
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_apple_silicon_server Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
+---
+
+# scaleway_apple_silicon_server (Resource)
+
+
+
+
+
+
+## Schema
+
+### Required
+
+- `type` (String) Type of the server
+
+### Optional
+
+- `name` (String) Name of the server
+- `project_id` (String) The project_id you want to attach the resource to
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
+- `zone` (String) The zone you want to attach the resource to
+
+### Read-Only
+
+- `created_at` (String) The date and time of the creation of the server
+- `deletable_at` (String) The minimal date and time on which you can delete this server due to Apple licence
+- `id` (String) The ID of this resource.
+- `ip` (String) IPv4 address of the server
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `state` (String) The state of the server
+- `updated_at` (String) The date and time of the last update of the server
+- `vnc_url` (String) VNC url use to connect remotely to the desktop GUI
+
+
+### Nested Schema for `timeouts`
+
+Optional:
+
+- `create` (String)
+- `default` (String)
diff --git a/docs/resources/baremetal_server.md b/docs/resources/baremetal_server.md
index 91d1929a7..df45d24a2 100644
--- a/docs/resources/baremetal_server.md
+++ b/docs/resources/baremetal_server.md
@@ -1,204 +1,129 @@
---
-subcategory: "Elastic Metal"
-page_title: "Scaleway: scaleway_baremetal_server"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_baremetal_server Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_baremetal_server
-
-Creates and manages Scaleway Compute Baremetal servers. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/elastic-metal).
-
-## Example Usage
-
-### Basic
-
-```terraform
-data "scaleway_account_ssh_key" "main" {
- name = "main"
-}
-
-resource "scaleway_baremetal_server" "base" {
- zone = "fr-par-2"
- offer = "GP-BM1-S"
- os = "d17d6872-0412-45d9-a198-af82c34d3c5c"
- ssh_key_ids = [data.scaleway_account_ssh_key.main.id]
-}
-```
-
-### With option
-
-```terraform
-data "scaleway_account_ssh_key" "main" {
- name = "main"
-}
-
-data "scaleway_baremetal_os" "my_os" {
- zone = "fr-par-2"
- name = "Ubuntu"
- version = "22.04 LTS (Jammy Jellyfish)"
-}
-
-data "scaleway_baremetal_offer" "my_offer" {
- zone = "fr-par-2"
- name = "EM-B112X-SSD"
-}
-
-data "scaleway_baremetal_option" "private_network" {
- zone = "fr-par-2"
- name = "Private Network"
-}
-
-data "scaleway_baremetal_option" "remote_access" {
- zone = "fr-par-2"
- name = "Remote Access"
-}
-
-resource "scaleway_baremetal_server" "base" {
- zone = "fr-par-2"
- offer = data.scaleway_baremetal_offer.my_offer.offer_id
- os = data.scaleway_baremetal_os.my_os.os_id
- ssh_key_ids = [data.scaleway_account_ssh_key.main.id]
-
- options {
- id = data.scaleway_baremetal_option.private_network.option_id
- }
-
- options {
- id = data.scaleway_baremetal_option.remote_access.option_id
- }
-}
-```
-
-### With private network
-
-```terraform
-data "scaleway_account_ssh_key" "main" {
- name = "main"
-}
-
-data "scaleway_baremetal_os" "my_os" {
- zone = "fr-par-2"
- name = "Ubuntu"
- version = "22.04 LTS (Jammy Jellyfish)"
-}
-
-data "scaleway_baremetal_offer" "my_offer" {
- zone = "fr-par-2"
- name = "EM-B112X-SSD"
-}
-
-data "scaleway_baremetal_option" "private_network" {
- zone = "fr-par-2"
- name = "Private Network"
-}
-
-resource "scaleway_vpc_private_network" "pn" {
- zone = "fr-par-2"
- name = "baremetal_private_network"
-}
-
-resource "scaleway_baremetal_server" "base" {
- zone = "fr-par-2"
- offer = data.scaleway_baremetal_offer.my_offer.offer_id
- os = data.scaleway_baremetal_os.my_os.os_id
- ssh_key_ids = [data.scaleway_account_ssh_key.main.id]
-
- options {
- id = data.scaleway_baremetal_option.private_network.option_id
- }
- private_network {
- id = scaleway_vpc_private_network.pn.id
- }
-}
-```
-
-### Without install config
-
-```terraform
-data "scaleway_baremetal_offer" "my_offer" {
- zone = "fr-par-2"
- name = "EM-B112X-SSD"
-}
-
-resource "scaleway_baremetal_server" "base" {
- zone = "fr-par-2"
- offer = data.scaleway_baremetal_offer.my_offer.offer_id
- install_config_afterward = true
-}
-```
-
-## Argument Reference
-
-The following arguments are supported:
-
-- `offer` - (Required) The offer name or UUID of the baremetal server.
- Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#get-334154) to find the right offer.
-
-~> **Important:** Updates to `offer` will recreate the server.
-
-- `os` - (Required) The UUID of the os to install on the server.
- Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#get-87598a) to find the right OS ID.
- ~> **Important:** Updates to `os` will reinstall the server.
-- `ssh_key_ids` - (Required) List of SSH keys allowed to connect to the server.
-- `user` - (Optional) User used for the installation.
-- `password` - (Optional) Password used for the installation. May be required depending on used os.
-- `service_user` - (Optional) User used for the service to install.
-- `service_password` - (Optional) Password used for the service to install. May be required depending on used os.
-- `reinstall_on_config_changes` - (Optional) If True, this boolean allows to reinstall the server on install config changes.
- ~> **Important:** Updates to `ssh_key_ids`, `user`, `password`, `service_user` or `service_password` will not take effect on the server, it requires to reinstall it. To do so please set 'reinstall_on_config_changes' argument to true.
-- `install_config_afterward` - (Optional) If True, this boolean allows to create a server without the install config if you want to provide it later.
-- `name` - (Optional) The name of the server.
-- `hostname` - (Optional) The hostname of the server.
-- `description` - (Optional) A description for the server.
-- `tags` - (Optional) The tags associated with the server.
-- `options` - (Optional) The options to enable on the server.
- ~> The `options` block supports:
- - `id` - (Required) The id of the option to enable. Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#get-012dcc) to find the available options IDs.
- - `expires_at` - (Optional) The auto expiration date for compatible options
-- `private_network` - (Required) The private networks to attach to the server. For more information, see [the documentation](https://www.scaleway.com/en/docs/compute/elastic-metal/how-to/use-private-networks/)
- - `id` - (Required) The id of the private network to attach.
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the server should be created.
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the server is associated with.
-
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `id` - The ID of the server.
-
-~> **Important:** Baremetal servers' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
-
-- `offer_id` - The ID of the offer.
-- `offer_name` - The name of the offer.
-- `os_name` - The name of the os.
-- `private_network` - The private networks attached to the server.
- - `id` - The ID of the private network.
- - `vlan` - The VLAN ID associated to the private network.
- - `status` - The private network status.
- - `created_at` - The date and time of the creation of the private network.
- - `updated_at` - The date and time of the last update of the private network.
-- `ips` - (List of) The IPs of the server.
- - `id` - The ID of the IP.
- - `address` - The address of the IP.
- - `reverse` - The reverse of the IP.
- - `version` - The type of the IP.
-- `ipv4` - (List of) The IPv4 addresses of the server.
- - `id` - The ID of the IPv4.
- - `address` - The address of the IPv4.
- - `reverse` - The reverse of the IPv4.
- - `version` - The type of the IPv4.
-- `ipv6` - (List of) The IPv6 addresses of the server.
- - `id` - The ID of the IPv6.
- - `address` - The address of the IPv6.
- - `reverse` - The reverse of the IPv6.
- - `version` - The type of the IPv6.
-- `domain` - The domain of the server.
-- `organization_id` - The organization ID the server is associated with.
-
-## Import
-
-Baremetal servers can be imported using the `{zone}/{id}`, e.g.
-
-```bash
-$ terraform import scaleway_baremetal_server.web fr-par-2/11111111-1111-1111-1111-111111111111
-```
+# scaleway_baremetal_server (Resource)
+
+
+
+
+
+
+## Schema
+
+### Required
+
+- `offer` (String) ID or name of the server offer
+
+### Optional
+
+- `description` (String) Some description to associate to the server, max 255 characters
+- `hostname` (String) Hostname of the server
+- `install_config_afterward` (Boolean) If True, this boolean allows to create a server without the install config if you want to provide it later
+- `name` (String) Name of the server
+- `options` (Block Set) The options to enable on server (see [below for nested schema](#nestedblock--options))
+- `os` (String) The base image of the server
+- `password` (String, Sensitive) Password used for the installation.
+- `private_network` (Block Set) The private networks to attach to the server (see [below for nested schema](#nestedblock--private_network))
+- `project_id` (String) The project_id you want to attach the resource to
+- `reinstall_on_config_changes` (Boolean) If True, this boolean allows to reinstall the server on SSH key IDs, user or password changes
+- `service_password` (String, Sensitive) Password used for the service to install.
+- `service_user` (String) User used for the service to install.
+- `ssh_key_ids` (List of String) Array of SSH key IDs allowed to SSH to the server
+
+**NOTE** : If you are attempting to update your SSH key IDs, it will induce the reinstall of your server.
+If this behaviour is wanted, please set 'reinstall_on_ssh_key_changes' argument to true.
+- `tags` (List of String) Array of tags to associate with the server
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
+- `user` (String) User used for the installation.
+- `zone` (String) The zone you want to attach the resource to
+
+### Read-Only
+
+- `domain` (String)
+- `id` (String) The ID of this resource.
+- `ips` (List of Object) IP addresses attached to the server. (see [below for nested schema](#nestedatt--ips))
+- `ipv4` (List of Object) IPv4 addresses attached to the server (see [below for nested schema](#nestedatt--ipv4))
+- `ipv6` (List of Object) IPv6 addresses attached to the server (see [below for nested schema](#nestedatt--ipv6))
+- `offer_id` (String) ID of the server offer
+- `offer_name` (String) Name of the server offer
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `os_name` (String) The base image name of the server
+
+
+### Nested Schema for `options`
+
+Required:
+
+- `id` (String) IDs of the options
+
+Optional:
+
+- `expires_at` (String) Auto expire the option after this date
+
+Read-Only:
+
+- `name` (String) name of the option
+
+
+
+### Nested Schema for `private_network`
+
+Required:
+
+- `id` (String) The private network ID
+
+Read-Only:
+
+- `created_at` (String) The date and time of the creation of the private network
+- `status` (String) The private network status
+- `updated_at` (String) The date and time of the last update of the private network
+- `vlan` (Number) The VLAN ID associated to the private network
+
+
+
+### Nested Schema for `timeouts`
+
+Optional:
+
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `update` (String)
+
+
+
+### Nested Schema for `ips`
+
+Read-Only:
+
+- `address` (String)
+- `id` (String)
+- `reverse` (String)
+- `version` (String)
+
+
+
+### Nested Schema for `ipv4`
+
+Read-Only:
+
+- `address` (String)
+- `id` (String)
+- `reverse` (String)
+- `version` (String)
+
+
+
+### Nested Schema for `ipv6`
+
+Read-Only:
+
+- `address` (String)
+- `id` (String)
+- `reverse` (String)
+- `version` (String)
diff --git a/docs/resources/block_snapshot.md b/docs/resources/block_snapshot.md
index 193e54da4..8248b2d9a 100644
--- a/docs/resources/block_snapshot.md
+++ b/docs/resources/block_snapshot.md
@@ -1,44 +1,42 @@
---
-subcategory: "Block"
-page_title: "Scaleway: scaleway_block_snapshot"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_block_snapshot Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_block_snapshot
+# scaleway_block_snapshot (Resource)
-Creates and manages Scaleway Block Snapshots.
-For more information, see [the documentation](https://www.scaleway.com/en/developers/api/block/).
-## Example Usage
-```terraform
-resource "scaleway_block_snapshot" "block_snapshot" {
- name = "some-snapshot-name"
- volume_id = "11111111-1111-1111-1111-111111111111"
-}
-```
-## Argument Reference
-The following arguments are supported:
+
+## Schema
-- `volume_id` - (Optional) The ID of the volume to take a snapshot from.
-- `name` - (Optional) The name of the snapshot. If not provided it will be randomly generated.
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the snapshot should be created.
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the snapshot is associated with.
-- `tags` - (Optional) A list of tags to apply to the snapshot.
+### Required
-## Attributes Reference
+- `volume_id` (String) ID of the volume from which creates a snapshot
-In addition to all arguments above, the following attributes are exported:
+### Optional
-- `id` - The ID of the snapshot.
+- `name` (String) The snapshot name
+- `project_id` (String) The project_id you want to attach the resource to
+- `tags` (List of String) The tags associated with the snapshot
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
+- `zone` (String) The zone you want to attach the resource to
-~> **Important:** Block snapshots' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
+### Read-Only
-## Import
+- `id` (String) The ID of this resource.
-Block Snapshots can be imported using the `{zone}/{id}`, e.g.
+
+### Nested Schema for `timeouts`
-```bash
-$ terraform import scaleway_block_snapshot.main fr-par-1/11111111-1111-1111-1111-111111111111
-```
+Optional:
+
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
diff --git a/docs/resources/block_volume.md b/docs/resources/block_volume.md
index c6296d9bf..8e28c4301 100644
--- a/docs/resources/block_volume.md
+++ b/docs/resources/block_volume.md
@@ -1,49 +1,44 @@
---
-subcategory: "Block"
-page_title: "Scaleway: scaleway_block_volume"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_block_volume Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_block_volume
+# scaleway_block_volume (Resource)
-Creates and manages Scaleway Block Volumes.
-For more information, see [the documentation](https://www.scaleway.com/en/developers/api/block/).
-## Example Usage
-```terraform
-resource "scaleway_block_volume" "block_volume" {
- iops = 5000
- name = "some-volume-name"
- size_in_gb = 20
-}
-```
-## Argument Reference
-The following arguments are supported:
+
+## Schema
-- `iops` - (Required) The maximum IO/s expected, must match available options.
-- `name` - (Optional) The name of the volume. If not provided it will be randomly generated.
-- `size_in_gb` - (Optional) The size of the volume. Only one of `size_in_gb`, and `snapshot_id` should be specified.
-- `snapshot_id` - (Optional) If set, the new volume will be created from this snapshot. Only one of `size_in_gb`, `snapshot_id` should be specified.
-- `tags` - (Optional) A list of tags to apply to the volume.
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the volume should be created.
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the volume is associated with.
+### Required
-## Attributes Reference
+- `iops` (Number) The maximum IO/s expected, must match available options
-In addition to all arguments above, the following attributes are exported:
+### Optional
-- `id` - The ID of the volume.
+- `name` (String) The volume name
+- `project_id` (String) The project_id you want to attach the resource to
+- `size_in_gb` (Number) The volume size in GB
+- `snapshot_id` (String) The snapshot to create the volume from
+- `tags` (List of String) The tags associated with the volume
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
+- `zone` (String) The zone you want to attach the resource to
-~> **Important:** Block volumes' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
+### Read-Only
-- `organization_id` - The organization ID the volume is associated with.
+- `id` (String) The ID of this resource.
-## Import
+
+### Nested Schema for `timeouts`
-Block Volumes can be imported using the `{zone}/{id}`, e.g.
+Optional:
-```bash
-$ terraform import scaleway_block_volume.block_volume fr-par-1/11111111-1111-1111-1111-111111111111
-```
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
diff --git a/docs/resources/cockpit.md b/docs/resources/cockpit.md
index 2004c8486..aa8d426c9 100644
--- a/docs/resources/cockpit.md
+++ b/docs/resources/cockpit.md
@@ -1,77 +1,60 @@
---
-subcategory: "Cockpit"
-page_title: "Scaleway: scaleway_cockpit"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_cockpit Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_cockpit
+# scaleway_cockpit (Resource)
--> **Note:**
-As of April 2024, Cockpit has introduced regionalization to offer more flexibility and resilience.
-If you have customized dashboards in Grafana for monitoring Scaleway resources, please update your queries to accommodate the new regionalized [data sources](./cockpit_source.md).
-Creates and manages Scaleway Cockpit.
-For more information consult the [documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/).
-## Example Usage
-### Activate Cockpit in the default project
+
+## Schema
-```terraform
-resource "scaleway_cockpit" "main" {}
-```
+### Optional
-### Activate Cockpit in a specific project
+- `plan` (String) Name or ID of the plan
+- `project_id` (String) The project_id you want to attach the resource to
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
-```terraform
-resource "scaleway_cockpit" "main" {
- project_id = "11111111-1111-1111-1111-111111111111"
-}
-```
+### Read-Only
-### Use the Grafana Terraform provider
+- `endpoints` (List of Object) Endpoints (see [below for nested schema](#nestedatt--endpoints))
+- `id` (String) The ID of this resource.
+- `plan_id` (String) The plan ID of the cockpit
+- `push_url` (List of Object) Push_url (see [below for nested schema](#nestedatt--push_url))
-```terraform
-resource "scaleway_cockpit" "main" {}
+
+### Nested Schema for `timeouts`
-resource "scaleway_cockpit_grafana_user" "main" {
- project_id = scaleway_cockpit.main.project_id
- login = "example"
- role = "editor"
-}
+Optional:
-provider "grafana" {
- url = scaleway_cockpit.main.endpoints.0.grafana_url
- auth = "${scaleway_cockpit_grafana_user.main.login}:${scaleway_cockpit_grafana_user.main.password}"
-}
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
-resource "grafana_folder" "test_folder" {
- title = "Test Folder"
-}
-```
-## Argument Reference
+
+### Nested Schema for `endpoints`
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the cockpit is associated with.
-- `plan` - (Optional) Name or ID of the plan to use.
+Read-Only:
+- `alertmanager_url` (String)
+- `grafana_url` (String)
+- `logs_url` (String)
+- `metrics_url` (String)
+- `traces_url` (String)
-## Attributes Reference
-In addition to all arguments above, the following attributes are exported:
+
+### Nested Schema for `push_url`
-- `plan_id` - The ID of the current plan.
-- `endpoints` - Endpoints.
- - `metrics_url` - The metrics URL.
- - `logs_url` - The logs URL.
- - `alertmanager_url` - The alertmanager URL.
- - `grafana_url` - The grafana URL.
- - `traces_url` - The traces URL.
+Read-Only:
-## Import
-
-Cockpits can be imported using the `{project_id}`, e.g.
-
-```bash
-$ terraform import scaleway_cockpit.main 11111111-1111-1111-1111-111111111111
-```
+- `push_logs_url` (String)
+- `push_metrics_url` (String)
diff --git a/docs/resources/cockpit_grafana_user.md b/docs/resources/cockpit_grafana_user.md
index 174b2d3d3..b56647620 100644
--- a/docs/resources/cockpit_grafana_user.md
+++ b/docs/resources/cockpit_grafana_user.md
@@ -1,45 +1,41 @@
---
-subcategory: "Cockpit"
-page_title: "Scaleway: scaleway_cockpit_grafana_user"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_cockpit_grafana_user Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_cockpit_grafana_user
+# scaleway_cockpit_grafana_user (Resource)
-Creates and manages Scaleway Cockpit Grafana Users.
-For more information consult the [documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#grafana-users).
-## Example Usage
-```terraform
-resource "scaleway_account_project" "project" {
- name = "test project grafana user"
-}
-resource "scaleway_cockpit_grafana_user" "main" {
- project_id = scaleway_account_project.project.id
- login = "my-awesome-user"
- role = "editor"
-}
-```
+
+## Schema
+### Required
-## Argument Reference
+- `login` (String) The login of the Grafana user
+- `role` (String) The role of the Grafana user
-- `login` - (Required) The login of the grafana user.
-- `role` - (Required) The role of the grafana user. Must be `editor` or `viewer`.
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the cockpit is associated with.
+### Optional
-## Attributes Reference
+- `project_id` (String) The project_id you want to attach the resource to
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
-In addition to all arguments above, the following attributes are exported:
+### Read-Only
-- `password` - The password of the grafana user
+- `id` (String) The ID of this resource.
+- `password` (String, Sensitive) The password of the Grafana user
-## Import
+
+### Nested Schema for `timeouts`
-Cockpits Grafana Users can be imported using the project ID and the grafana user ID formatted `{project_id}/{grafana_user_id}`, e.g.
+Optional:
-```bash
-$ terraform import scaleway_cockpit_grafana_user.main 11111111-1111-1111-1111-111111111111/2
-```
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
diff --git a/docs/resources/cockpit_token.md b/docs/resources/cockpit_token.md
index 6474d767b..914357ca8 100644
--- a/docs/resources/cockpit_token.md
+++ b/docs/resources/cockpit_token.md
@@ -1,77 +1,57 @@
---
-subcategory: "Cockpit"
-page_title: "Scaleway: scaleway_cockpit_token"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_cockpit_token Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_cockpit_token
+# scaleway_cockpit_token (Resource)
-Creates and manages Scaleway Cockpit Tokens.
-For more information consult the [documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#tokens).
-## Example Usage
-```terraform
-resource "scaleway_account_project" "project" {
- name = "my-project"
-}
-resource "scaleway_cockpit_token" "main" {
- project_id = scaleway_account_project.project.id
- name = "my-awesome-token"
-}
-```
+
+## Schema
-```terraform
-resource "scaleway_account_project" "project" {
- name = "my-project"
-}
+### Required
-// Create a token that can read metrics and logs but not write
-resource "scaleway_cockpit_token" "main" {
- project_id = scaleway_account_project.project.id
-
- name = "my-awesome-token"
- scopes {
- query_metrics = true
- write_metrics = false
+- `name` (String) The name of the token
- query_logs = true
- write_logs = false
- }
-}
-```
+### Optional
-## Argument Reference
+- `project_id` (String) The project_id you want to attach the resource to
+- `scopes` (Block List, Max: 1) Endpoints (see [below for nested schema](#nestedblock--scopes))
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
-- `name` - (Required) The name of the token.
-- `scopes` - (Optional) Allowed scopes.
- - `query_metrics` - (Defaults to `false`) Query metrics.
- - `write_metrics` - (Defaults to `true`) Write metrics.
- - `setup_metrics_rules` - (Defaults to `false`) Setup metrics rules.
- - `query_logs` - (Defaults to `false`) Query logs.
- - `write_logs` - (Defaults to `true`) Write logs.
- - `setup_logs_rules` - (Defaults to `false`) Setup logs rules.
- - `setup_alerts` - (Defaults to `false`) Setup alerts.
- - `query_traces` - (Defaults to `false`) Query traces.
- - `write_traces` - (Defaults to `false`) Write traces.
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) of the cockpit token.
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the cockpit is associated with.
+### Read-Only
-## Attributes Reference
+- `id` (String) The ID of this resource.
+- `secret_key` (String, Sensitive) The secret key of the token
-In addition to all arguments above, the following attributes are exported:
+
+### Nested Schema for `scopes`
-- `id` - The ID of the cockpit token.
+Optional:
-~> **Important:** cockpit tokens' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111
+- `query_logs` (Boolean) Query logs
+- `query_metrics` (Boolean) Query metrics
+- `query_traces` (Boolean) Query traces
+- `setup_alerts` (Boolean) Setup alerts
+- `setup_logs_rules` (Boolean) Setup logs rules
+- `setup_metrics_rules` (Boolean) Setup metrics rules
+- `write_logs` (Boolean) Write logs
+- `write_metrics` (Boolean) Write metrics
+- `write_traces` (Boolean) Write traces
-- `secret_key` - The secret key of the token.
-## Import
+
+### Nested Schema for `timeouts`
-Cockpits tokens can be imported using the `{region}/{id}`, e.g.
+Optional:
-```bash
-$ terraform import scaleway_cockpit_token.main fr-par/11111111-1111-1111-1111-111111111111
-```
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
diff --git a/docs/resources/container.md b/docs/resources/container.md
index 9aa78d3dc..c3aeb0617 100644
--- a/docs/resources/container.md
+++ b/docs/resources/container.md
@@ -1,151 +1,61 @@
---
-subcategory: "Containers"
-page_title: "Scaleway: scaleway_container"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_container Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_container
+# scaleway_container (Resource)
-Creates and manages Scaleway Container.
-For more information consult the [documentation](https://www.scaleway.com/en/docs/faq/serverless-containers/).
-For more details about the limitation check [containers-limitations](https://www.scaleway.com/en/docs/compute/containers/reference-content/containers-limitations/).
-You can check also our [containers guide](https://www.scaleway.com/en/docs/compute/containers/concepts/).
-## Example Usage
+
+## Schema
-```terraform
-resource scaleway_container_namespace main {
- name = "my-ns-test"
- description = "test container"
-}
+### Required
-resource scaleway_container main {
- name = "my-container-02"
- description = "environment variables test"
- namespace_id = scaleway_container_namespace.main.id
- registry_image = "${scaleway_container_namespace.main.registry_endpoint}/alpine:test"
- port = 9997
- cpu_limit = 140
- memory_limit = 256
- min_scale = 3
- max_scale = 5
- timeout = 600
- max_concurrency = 80
- privacy = "private"
- protocol = "http1"
- deploy = true
+- `namespace_id` (String) The container namespace associated
- environment_variables = {
- "foo" = "var"
- }
- secret_environment_variables = {
- "key" = "secret"
- }
-}
-```
+### Optional
-## Argument Reference
+- `cpu_limit` (Number) The amount of vCPU computing resources to allocate to each container. Defaults to 70.
+- `deploy` (Boolean) This allows you to control your production environment
+- `description` (String) The container description
+- `environment_variables` (Map of String) The environment variables to be injected into your container at runtime.
+- `http_option` (String) HTTP traffic configuration
+- `max_concurrency` (Number) The maximum the number of simultaneous requests your container can handle at the same time. Defaults to 50.
+- `max_scale` (Number) The maximum of number of instances this container can scale to. Default to 20.
+- `memory_limit` (Number) The memory computing resources in MB to allocate to each container. Defaults to 128.
+- `min_scale` (Number) The minimum of running container instances continuously. Defaults to 0.
+- `name` (String) The container name
+- `port` (Number) The port to expose the container. Defaults to 8080
+- `privacy` (String) The privacy type define the way to authenticate to your container
+- `protocol` (String) The communication protocol http1 or h2c. Defaults to http1.
+- `region` (String) The region you want to attach the resource to
+- `registry_image` (String) The scaleway registry image address
+- `registry_sha256` (String) The sha256 of your source registry image, changing it will re-apply the deployment. Can be any string
+- `secret_environment_variables` (Map of String, Sensitive) The secret environment variables to be injected into your container at runtime.
+- `status` (String) The container status
+- `timeout` (Number) The maximum amount of time in seconds during which your container can process a request before we stop it. Defaults to 300s.
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
-The following arguments are required:
+### Read-Only
-- `name` - (Required) The unique name of the container name.
+- `cron_status` (String) The cron status
+- `domain_name` (String) The native container domain name.
+- `error_message` (String) The error description
+- `id` (String) The ID of this resource.
-- `namespace_id` - (Required) The container namespace ID of the container.
+
+### Nested Schema for `timeouts`
-~> **Important** Updates to `name` will recreate the container.
+Optional:
-The following arguments are optional:
-
-- `description` (Optional) The description of the container.
-
-- `environment_variables` - (Optional) The [environment](https://www.scaleway.com/en/docs/compute/containers/concepts/#environment-variables) variables of the container.
-
-- `secret_environment_variables` - (Optional) The [secret environment](https://www.scaleway.com/en/docs/compute/containers/concepts/#secrets) variables of the container.
-
-- `min_scale` - (Optional) The minimum of running container instances continuously. Defaults to 0.
-
-- `max_scale` - (Optional) The maximum of number of instances this container can scale to. Default to 20.
-
-- `memory_limit` - (Optional) The memory computing resources in MB to allocate to each container. Defaults to 256.
-
-- `cpu_limit` - (Optional) The amount of vCPU computing resources to allocate to each container. Defaults to 140.
-
-- `timeout` - (Optional) The maximum amount of time in seconds during which your container can process a request before we stop it. Defaults to 300s.
-
-- `privacy` - (Optional) The privacy type define the way to authenticate to your container. Please check our dedicated [section](https://www.scaleway.com/en/developers/api/serverless-containers/#protocol-9dd4c8).
-
-- `registry_image` - (Optional) The registry image address. e.g: **"rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE"**.
-
-- `registry_sha256` - (Optional) The sha256 of your source registry image, changing it will re-apply the deployment. Can be any string.
-
-- `max_concurrency` - (Optional) The maximum number of simultaneous requests your container can handle at the same time. Defaults to 50.
-
-- `protocol` - (Optional) The communication [protocol](https://www.scaleway.com/en/developers/api/serverless-containers/#protocol-9dd4c8) http1 or h2c. Defaults to http1.
-
-- `http_option` - (Optional) Allow both HTTP and HTTPS (enabled) or redirect HTTP to HTTPS (redirected). Defaults to enabled.
-
-- `port` - (Optional) The port to expose the container. Defaults to 8080.
-
-- `deploy` - (Optional) Boolean controlling whether the container is on a production environment.
-
-Note that if you want to use your own configuration, you must consult our configuration [restrictions](https://www.scaleway.com/en/docs/compute/containers/reference-content/containers-limitations/#configuration-restrictions) section.
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `id` - The container's ID.
-
-~> **Important:** Containers' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
-
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the container was created.
-- `status` - The container status.
-- `cron_status` - The cron status of the container.
-- `error_message` - The error message of the container.
-- `domain_name` - The native domain name of the container
-
-## Import
-
-Container can be imported using the `{region}/{id}`, e.g.
-
-```bash
-$ terraform import scaleway_container.main fr-par/11111111-1111-1111-1111-111111111111
-```
-
-## Protocols
-
-The supported protocols are:
-
-* `h2c`: HTTP/2 over TCP.
-* `http1`: Hypertext Transfer Protocol.
-
-**Important:** For details about the protocols check [this](https://httpd.apache.org/docs/2.4/howto/http2.html)
-
-## Privacy
-
-By default, creating a container will make it `public`, meaning that anybody knowing the endpoint could execute it.
-A container can be made `private` with the privacy parameter.
-
-Please check our [authentication](https://www.scaleway.com/en/developers/api/serverless-containers/#protocol-9dd4c8) section
-
-## Memory and vCPUs configuration
-
-The vCPU represents a portion or share of the underlying, physical CPU that is assigned to a particular virtual machine (VM).
-
-You may decide how much computing resources to allocate to each container.
-The `memory_limit` (in MB) must correspond with the right amount of vCPU.
-
-**Important:** The right choice for your container's resources is very important, as you will be billed based on compute usage over time and the number of Containers executions.
-
-Please check our [price](https://www.scaleway.com/en/docs/faq/serverless-containers/#prices) section for more details.
-
-| Memory (in MB) | vCPU |
-|----------------|------|
-| 128 | 70m |
-| 256 | 140m |
-| 512 | 280m |
-| 1024 | 560m |
-
-**Note:** 560mCPU accounts roughly for half of one CPU power of a Scaleway General Purpose instance
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
+- `update` (String)
diff --git a/docs/resources/container_cron.md b/docs/resources/container_cron.md
index 73db4b1d7..80b660a62 100644
--- a/docs/resources/container_cron.md
+++ b/docs/resources/container_cron.md
@@ -1,86 +1,44 @@
---
-subcategory: "Containers"
-page_title: "Scaleway: scaleway_container_cron"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_container_cron Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_container_cron
+# scaleway_container_cron (Resource)
-Creates and manages Scaleway Container Triggers. For the moment, the feature is limited to CRON Schedule (time-based).
-For more information consult
-the [documentation](https://www.scaleway.com/en/docs/serverless/containers/)
-.
-For more details about the limitation
-check [containers-limitations](https://www.scaleway.com/en/docs/compute/containers/reference-content/containers-limitations/)
-.
-You can check also
-our [containers cron api documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#crons-942bf4).
-## Example Usage
+
+## Schema
-```terraform
-resource scaleway_container_namespace main {
-}
+### Required
-resource scaleway_container main {
- name = "my-container-with-cron-tf"
- namespace_id = scaleway_container_namespace.main.id
-}
+- `args` (String) Cron arguments as json object to pass through during execution.
+- `container_id` (String) The Container ID to link with your trigger.
+- `schedule` (String) Cron format string, e.g. 0 * * * * or @hourly, as schedule time of its jobs to be created and executed.
-resource scaleway_container_cron main {
- container_id = scaleway_container.main.id
- name = "my-cron-name"
- schedule = "5 4 1 * *" #cron at 04:05 on day-of-month 1
- args = jsonencode(
- {
- address = {
- city = "Paris"
- country = "FR"
- }
- age = 23
- firstName = "John"
- isAlive = true
- lastName = "Smith"
- # minScale: 1
- # memoryLimit: 256
- # maxScale: 2
- # timeout: 20000
- # Local environment variables - used only in given function
- }
- )
-}
-```
+### Optional
-## Argument Reference
+- `name` (String) Cron job name
+- `region` (String) The region you want to attach the resource to
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
-The following arguments are supported:
+### Read-Only
-- `schedule` - (Required) Cron format string, e.g. @hourly, as schedule time of its jobs to be created and
- executed.
-- `container_id` - (Required) The container ID to link with your cron.
-- `args` - (Required) The key-value mapping to define arguments that will be passed to your container’s event object
- during
-- `name` - (Optional) The name of the container cron. If not provided, the name is generated.
- during
+- `id` (String) The ID of this resource.
+- `status` (String) Cron job status.
-## Attributes Reference
+
+### Nested Schema for `timeouts`
-In addition to all arguments above, the following attributes are exported:
+Optional:
-- `id` - The container CRON's ID.
-
-~> **Important:** Container CRONs' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
-
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions)
- in where the job was created.
-- `status` - The cron status.
-
-## Import
-
-Container Cron can be imported using the `{region}/{id}`, e.g.
-
-```bash
-$ terraform import scaleway_container_cron.main fr-par/11111111-1111-1111-1111-111111111111
-```
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
+- `update` (String)
diff --git a/docs/resources/container_domain.md b/docs/resources/container_domain.md
index 086767ae8..4fd8031d7 100644
--- a/docs/resources/container_domain.md
+++ b/docs/resources/container_domain.md
@@ -1,89 +1,42 @@
---
-subcategory: "Containers"
-page_title: "Scaleway: scaleway_container_domain"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_container_domain Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_container_domain
+# scaleway_container_domain (Resource)
-Creates and manages Scaleway Container domain name bindings.
-You can check our [containers guide](https://www.scaleway.com/en/docs/compute/containers/how-to/add-a-custom-domain-to-a-container/) for further information.
-## Example Usage
-### Simple
-```terraform
-resource scaleway_container app {}
-resource scaleway_container_domain "app" {
- container_id = scaleway_container.app.id
- hostname = "container.domain.tld"
-}
-```
+
+## Schema
-### Complete example with domain
+### Required
-```terraform
-resource scaleway_container_namespace main {
- name = "my-ns-test"
- description = "test container"
-}
+- `container_id` (String) Container the domain will be bound to
+- `hostname` (String) Domain's hostname
-resource scaleway_container app {
- name = "app"
- namespace_id = scaleway_container_namespace.main.id
- registry_image = "${scaleway_container_namespace.main.registry_endpoint}/nginx:alpine"
- port = 80
- cpu_limit = 140
- memory_limit = 256
- min_scale = 1
- max_scale = 1
- timeout = 600
- max_concurrency = 80
- privacy = "public"
- protocol = "http1"
- deploy = true
-}
+### Optional
-resource scaleway_domain_record "app" {
- dns_zone = "domain.tld"
- name = "subdomain"
- type = "CNAME"
- data = "${scaleway_container.app.domain_name}." // Trailing dot is important in CNAME
- ttl = 3600
-}
+- `region` (String) The region you want to attach the resource to
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
-resource scaleway_container_domain "app" {
- container_id = scaleway_container.app.id
- hostname = "${scaleway_domain_record.app.name}.${scaleway_domain_record.app.dns_zone}"
-}
-```
+### Read-Only
-## Argument Reference
+- `id` (String) The ID of this resource.
+- `url` (String) URL used to query the container
-The following arguments are required:
+
+### Nested Schema for `timeouts`
-- `hostname` - (Required) The hostname with a CNAME record.
+Optional:
-- `container_id` - (Required) The ID of the container.
-
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the container exists
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `id` - The container domain's ID.
-
-~> **Important:** Container domains' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
-
-- `url` - The URL used to query the container
-
-
-## Import
-
-Container domain binding can be imported using the `{region}/{id}`, e.g.
-
-```bash
-$ terraform import scaleway_container_domain.main fr-par/11111111-1111-1111-1111-111111111111
-```
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
+- `update` (String)
diff --git a/docs/resources/container_namespace.md b/docs/resources/container_namespace.md
index df5f293d4..6e287f8f5 100644
--- a/docs/resources/container_namespace.md
+++ b/docs/resources/container_namespace.md
@@ -1,59 +1,45 @@
---
-subcategory: "Containers"
-page_title: "Scaleway: scaleway_container_namespace"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_container_namespace Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_container_namespace
+# scaleway_container_namespace (Resource)
-Creates and manages Scaleway Serverless Container Namespace.
-For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#namespaces-cdce79).
-## Example Usage
-### Basic
-```terraform
-resource "scaleway_container_namespace" "main" {
- name = "main-container-namespace"
- description = "Main container namespace"
-}
-```
-## Argument Reference
+
+## Schema
-The following arguments are supported:
+### Optional
-- `name` - (Required) The unique name of the container namespace.
+- `description` (String) The description of the container namespace
+- `destroy_registry` (Boolean, Deprecated) Destroy registry on deletion
+- `environment_variables` (Map of String) The environment variables of the container namespace
+- `name` (String) The name of the container namespace
+- `project_id` (String) The project_id you want to attach the resource to
+- `region` (String) The region you want to attach the resource to
+- `secret_environment_variables` (Map of String, Sensitive) The secret environment variables of the container namespace
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
-~> **Important** Updates to `name` will recreate the namespace.
+### Read-Only
-- `description` (Optional) The description of the namespace.
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `registry_endpoint` (String) The endpoint reachable by docker
+- `registry_namespace_id` (String) The ID of the registry namespace
-- `region` - (Defaults to [provider](../index.md#region) `region`). The [region](../guides/regions_and_zones.md#regions) in which the namespace should be created.
+
+### Nested Schema for `timeouts`
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the namespace is associated with.
+Optional:
-- `environment_variables` - The environment variables of the namespace.
-
-- `secret_environment_variables` - The secret environment variables of the namespace.
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `id` - The ID of the namespace
-
-~> **Important:** Container namespaces' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
-
-- `organization_id` - The organization ID the namespace is associated with.
-- `registry_endpoint` - The registry endpoint of the namespace.
-- `registry_namespace_id` - The registry namespace ID of the namespace.
-
-
-## Import
-
-Namespaces can be imported using the `{region}/{id}`, e.g.
-
-```bash
-$ terraform import scaleway_container_namespace.main fr-par/11111111-1111-1111-1111-111111111111
-```
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
+- `update` (String)
diff --git a/docs/resources/container_token.md b/docs/resources/container_token.md
index cd5adfd4e..81f988dd7 100644
--- a/docs/resources/container_token.md
+++ b/docs/resources/container_token.md
@@ -1,71 +1,29 @@
---
-subcategory: "Containers"
-page_title: "Scaleway: scaleway_container_token"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_container_token Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_container_token
+# scaleway_container_token (Resource)
-Creates and manages Scaleway Container Token.
-For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#tokens-26b085).
-## Example Usage
-### Basic
-```terraform
-resource scaleway_container_namespace main {
- name = "test-container-token-ns"
-}
-resource scaleway_container main {
- namespace_id = scaleway_container_namespace.main.id
-}
+
+## Schema
-// Namespace Token
-resource scaleway_container_token namespace {
- namespace_id = scaleway_container_namespace.main.id
- expires_at = "2022-10-18T11:35:15+02:00"
-}
+### Optional
-// Container Token
-resource scaleway_container_token container {
- container_id = scaleway_container.main.id
-}
-```
+- `container_id` (String)
+- `description` (String)
+- `expires_at` (String)
+- `namespace_id` (String)
+- `region` (String) The region you want to attach the resource to
-## Argument Reference
+### Read-Only
-The following arguments are supported:
-
-- `namespace_id` - (Required) The ID of the container namespace.
-
-- `container_id` - (Required) The ID of the container.
-
-~> Only one of `namespace_id` or `container_id` must be set.
-
-- `description` (Optional) The description of the token.
-
-- `expires_at` (Optional) The expiration date of the token.
-
-- `region` - (Defaults to [provider](../index.md#region) `region`). The [region](../guides/regions_and_zones.md#regions) in which the namespace should be created.
-
-~> **Important** Updates to any fields will recreate the token.
-
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `id` - The ID of the token.
-
-~> **Important:** Container tokens' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
-
-- `token` - The token.
-
-## Import
-
-Tokens can be imported using the `{region}/{id}`, e.g.
-
-```bash
-$ terraform import scaleway_container_token.main fr-par/11111111-1111-1111-1111-111111111111
-```
+- `id` (String) The ID of this resource.
+- `token` (String, Sensitive)
diff --git a/docs/resources/container_trigger.md b/docs/resources/container_trigger.md
index c99e300a3..0bfb10ab4 100644
--- a/docs/resources/container_trigger.md
+++ b/docs/resources/container_trigger.md
@@ -1,82 +1,72 @@
---
-subcategory: "Containers"
-page_title: "Scaleway: scaleway_container_trigger"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_container_trigger Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_container_trigger
+# scaleway_container_trigger (Resource)
-Creates and manages Scaleway Container Triggers.
-For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#path-triggers).
-## Example Usage
-### SQS
-```terraform
-resource scaleway_container_trigger main {
- container_id = scaleway_container.main.id
- name = "my-trigger"
- sqs {
- project_id = scaleway_mnq_sqs.main.project_id
- queue = "MyQueue"
- # If region is different
- region = scaleway_mnq_sqs.main.region
- }
-}
-```
-### Nats
+
+## Schema
-```terraform
-resource scaleway_container_trigger main {
- container_id = scaleway_container.main.id
- name = "my-trigger"
- nats {
- account_id = scaleway_mnq_nats_account.main.id
- subject = "MySubject"
- # If region is different
- region = scaleway_mnq_nats_account.main.region
- }
-}
-```
+### Required
-## Argument Reference
+- `container_id` (String) The ID of the container to create a trigger for
-The following arguments are supported:
+### Optional
-- `container_id` (Required) The ID of the container to create a trigger for
+- `description` (String) The trigger description
+- `name` (String) The trigger name
+- `nats` (Block List, Max: 1) Config for nats based trigger using scaleway mnq (see [below for nested schema](#nestedblock--nats))
+- `region` (String) The region you want to attach the resource to
+- `sqs` (Block List, Max: 1) Config for sqs based trigger using scaleway mnq (see [below for nested schema](#nestedblock--sqs))
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
-- `name` - (Optional) The unique name of the trigger. Default to a generated name.
+### Read-Only
-- `description` (Optional) The description of the trigger.
+- `id` (String) The ID of this resource.
-- `sqs` The configuration of the Scaleway's SQS used by the trigger
- - `namespace_id` (Deprecated) ID of the mnq namespace. Deprecated.
- - `queue` (Required) Name of the queue
- - `project_id` (Optional) ID of the project where sqs is enabled, defaults to provider's project
- - `region` (Optional) Region where sqs is enabled, defaults to provider's region
+
+### Nested Schema for `nats`
-- `nats` The configuration for the Scaleway's Nats used by the trigger
- - `account_id` (Required) ID of the mnq nats account.
- - `subject` (Required) The subject to listen to
- - `project_id` (Optional) ID of the project that contain the mnq nats account, defaults to provider's project
- - `region` (Optional) Region where the mnq nats account is, defaults to provider's region
+Required:
-- `region` - (Defaults to [provider](../index.md#region) `region`). The [region](../guides/regions_and_zones.md#regions) in which the namespace should be created.
+- `subject` (String) Subject to listen to
+Optional:
-## Attributes Reference
+- `account_id` (String) ID of the mnq nats account
+- `project_id` (String) Project ID of the project where the mnq sqs exists, defaults to provider project_id
+- `region` (String) Region where the mnq sqs exists, defaults to function's region
-In addition to all arguments above, the following attributes are exported:
-- `id` - The ID of the container trigger
+
+### Nested Schema for `sqs`
-- ~> **Important:** Container Triggers' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
+Required:
-## Import
+- `queue` (String) Name of the queue
-Container Triggers can be imported using the `{region}/{id}`, e.g.
+Optional:
-```bash
-$ terraform import scaleway_container_trigger.main fr-par/11111111-1111-1111-1111-111111111111
-```
+- `namespace_id` (String) ID of the mnq namespace
+- `project_id` (String) Project ID of the project where the mnq sqs exists, defaults to provider project_id
+- `region` (String) Region where the mnq sqs exists, defaults to function's region
+
+
+
+### Nested Schema for `timeouts`
+
+Optional:
+
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
+- `update` (String)
diff --git a/docs/resources/documentdb_database.md b/docs/resources/documentdb_database.md
index 033388cd3..6f45529d5 100644
--- a/docs/resources/documentdb_database.md
+++ b/docs/resources/documentdb_database.md
@@ -1,48 +1,43 @@
---
-subcategory: "Databases"
-page_title: "Scaleway: scaleway_documentdb_database"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_documentdb_database Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_documentdb_database
+# scaleway_documentdb_database (Resource)
-Creates and manages Scaleway DocumentDB database.
-## Example Usage
-### Basic
-```terraform
-resource "scaleway_documentdb_database" "main" {
- instance_id = "11111111-1111-1111-1111-111111111111"
- name = "my-new-database"
-}
-```
-## Argument Reference
+
+## Schema
-The following arguments are supported:
+### Required
-- `instance_id` - (Required) UUID of the documentdb instance.
+- `instance_id` (String) Instance on which the database is created
-~> **Important:** Updates to `instance_id` will recreate the Database.
+### Optional
-- `name` - (Required) Name of the database (e.g. `my-new-database`).
+- `name` (String) The database name
+- `project_id` (String) The project_id you want to attach the resource to
+- `region` (String) The region you want to attach the resource to
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the resource exists.
+### Read-Only
-## Attributes Reference
+- `id` (String) The ID of this resource.
+- `managed` (Boolean) Whether or not the database is managed
+- `owner` (String) User that own the database
+- `size` (String) Size of the database
-In addition to all arguments above, the following attributes are exported:
+
+### Nested Schema for `timeouts`
-- `id` - The ID of the database, which is of the form `{region}/{id}/{DBNAME}` e.g. `fr-par/11111111-1111-1111-1111-111111111111/mydb`
-- `owner` - The name of the owner of the database.
-- `managed` - Whether the database is managed or not.
-- `size` - Size in gigabytes of the database.
+Optional:
-## Import
-
-DocumentDB Database can be imported using the `{region}/{id}/{DBNAME}`, e.g.
-
-```bash
-$ terraform import scaleway_documentdb_database.mydb fr-par/11111111-1111-1111-1111-111111111111/mydb
-```
+- `create` (String)
+- `default` (String)
+- `delete` (String)
diff --git a/docs/resources/documentdb_instance.md b/docs/resources/documentdb_instance.md
index b8af2ea56..647bb9606 100644
--- a/docs/resources/documentdb_instance.md
+++ b/docs/resources/documentdb_instance.md
@@ -1,82 +1,50 @@
---
-subcategory: "Databases"
-page_title: "Scaleway: scaleway_documentdb_instance"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_documentdb_instance Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_documentdb_instance
+# scaleway_documentdb_instance (Resource)
-Creates and manages Scaleway Database Instances.
-## Example Usage
-### Example Basic
-```terraform
-resource "scaleway_documentdb_instance" "main" {
- name = "test-documentdb-instance-basic"
- node_type = "docdb-play2-pico"
- engine = "FerretDB-1"
- user_name = "my_initial_user"
- password = "thiZ_is_v&ry_s3cret"
- tags = ["terraform-test", "scaleway_documentdb_instance", "minimal"]
- volume_size_in_gb = 20
-}
-```
-## Argument Reference
+
+## Schema
-The following arguments are supported:
+### Required
-- `node_type` - (Required) The type of database instance you want to create (e.g. `docdb-play2-pico`).
+- `engine` (String) Database's engine version id
+- `node_type` (String) The type of database instance you want to create
-~> **Important:** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any
-interruption. Keep in mind that you cannot downgrade a Database Instance.
+### Optional
-- `engine` - (Required) Database Instance's engine version (e.g. `FerretDB-1`).
+- `is_ha_cluster` (Boolean) Enable or disable high availability for the database instance
+- `name` (String) The document db instance name
+- `password` (String, Sensitive) Password for the first user of the database instance
+- `project_id` (String) The project_id you want to attach the resource to
+- `region` (String) The region you want to attach the resource to
+- `tags` (List of String) List of tags ["tag1", "tag2", ...] attached to a database instance
+- `telemetry_enabled` (Boolean) Enable telemetry to collects basic anonymous usage data and sends them to FerretDB telemetry service
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
+- `user_name` (String) Identifier for the first user of the database instance
+- `volume_size_in_gb` (Number) Volume size (in GB) when volume_type is not lssd
+- `volume_type` (String) Type of volume where data are stored
-~> **Important:** Updates to `engine` will recreate the Database Instance.
+### Read-Only
-- `volume_type` - (Optional, default to `lssd`) Type of volume where data are stored (`bssd` or `lssd`).
+- `id` (String) The ID of this resource.
-- `volume_size_in_gb` - (Optional) Volume size (in GB) when `volume_type` is set to `bssd`.
+
+### Nested Schema for `timeouts`
-- `user_name` - (Optional) Identifier for the first user of the database instance.
+Optional:
-~> **Important:** Updates to `user_name` will recreate the Database Instance.
-
-- `password` - (Optional) Password for the first user of the database instance.
-
-- `is_ha_cluster` - (Optional) Enable or disable high availability for the database instance.
-
-- `telemetry_enabled` - (Optional) Enable telemetry to collects basic anonymous usage data and sends them to FerretDB telemetry service. More about the telemetry [here](https://docs.ferretdb.io/telemetry/#configure-telemetry).
-
-~> **Important:** Updates to `is_ha_cluster` will recreate the Database Instance.
-
-- `name` - (Optional) The name of the Database Instance.
-
-- `tags` - (Optional) The tags associated with the Database Instance.
-
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions)
- in which the Database Instance should be created.
-
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the Database
- Instance is associated with.
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `id` - The ID of the Database Instance.
-
-~> **Important:** Database instances' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they
-are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
-
-- `organization_id` - The organization ID the Database Instance is associated with.
-
-## Import
-
-Database Instance can be imported using the `{region}/{id}`, e.g.
-
-```bash
-$ terraform import scaleway_documentdb_instance.db fr-par/11111111-1111-1111-1111-111111111111
-```
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
+- `update` (String)
diff --git a/docs/resources/documentdb_private_network_endpoint.md b/docs/resources/documentdb_private_network_endpoint.md
index fca609e75..1622b5954 100644
--- a/docs/resources/documentdb_private_network_endpoint.md
+++ b/docs/resources/documentdb_private_network_endpoint.md
@@ -1,68 +1,43 @@
---
-subcategory: "Databases"
-page_title: "Scaleway: scaleway_documentdb_private_network_endpoint"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_documentdb_private_network_endpoint Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_documentdb_private_network_endpoint
+# scaleway_documentdb_private_network_endpoint (Resource)
-Creates and manages Scaleway Database Private Network Endpoint.
-## Example Usage
-### Example Basic
-```terraform
-resource "scaleway_vpc_private_network" "pn" {
- name = "my_private_network"
-}
-resource "scaleway_documentdb_private_network_endpoint" "main" {
- instance_id = "11111111-1111-1111-1111-111111111111"
- private_network {
- ip_net = "172.16.32.3/22"
- id = scaleway_vpc_private_network.pn.id
- }
- depends_on = [scaleway_vpc_private_network.pn]
-}
-```
+
+## Schema
-## Argument Reference
+### Required
-The following arguments are supported:
+- `instance_id` (String) Instance on which the endpoint is attached
+- `private_network_id` (String) The private network ID
-- `instance_id` - (Required) UUID of the documentdb instance.
+### Optional
-- `ip_net` - (Optional) The IP network address within the private subnet. This must be an IPv4 address with a
- CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM)
- service if not set.
+- `ip_net` (String) The IP with the given mask within the private subnet
+- `port` (Number) The port of your private service
+- `region` (String) The region you want to attach the resource to
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
+- `zone` (String) The zone you want to attach the resource to
-- `private_network_id` - (Required) The ID of the private network.
+### Read-Only
-## Private Network
+- `hostname` (String) The hostname of your endpoint
+- `id` (String) The ID of this resource.
+- `ip` (String) The IP of your private network service
+- `name` (String) The name of your private service
-~> **Important:** Updates to `private_network_id` will recreate the attachment Instance.
+
+### Nested Schema for `timeouts`
-~> **NOTE:** Please calculate your host IP.
-using [cirhost](https://developer.hashicorp.com/terraform/language/functions/cidrhost). Otherwise, lets IPAM service
-handle the host IP on the network.
+Optional:
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `ip` - IPv4 address on the network.
-- `port` - Port in the Private Network.
-- `name` - Name of the endpoint.
-- `hostname` - Hostname of the endpoint.
-
-
-~> **Important:** Database instances' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they
-are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
-
-## Import
-
-Database Instance Endpoint can be imported using the `{region}/{endpoint_id}`, e.g.
-
-```bash
-$ terraform import scaleway_documentdb_private_network_endpoint.end fr-par/11111111-1111-1111-1111-111111111111
-```
+- `default` (String)
diff --git a/docs/resources/documentdb_privilege.md b/docs/resources/documentdb_privilege.md
index 83d64ae8b..87046c93c 100644
--- a/docs/resources/documentdb_privilege.md
+++ b/docs/resources/documentdb_privilege.md
@@ -1,48 +1,43 @@
---
-subcategory: "Databases"
-page_title: "Scaleway: scaleway_documentdb_privilege"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_documentdb_privilege Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_documentdb_privilege
+# scaleway_documentdb_privilege (Resource)
-Create and manage Scaleway DocumentDB database privilege.
-## Example Usage
-```terraform
-resource "scaleway_documentdb_privilege" "main" {
- instance_id = "11111111-1111-1111-1111-111111111111"
- user_name = "my-db-user"
- database_name = "my-db-name"
- permission = "all"
-}
-```
-## Argument Reference
+
+## Schema
-The following arguments are supported:
+### Required
-- `instance_id` - (Required) UUID of the rdb instance.
+- `database_name` (String) Database name
+- `instance_id` (String) Instance on which the database is created
+- `permission` (String) Privilege
+- `user_name` (String) User name
-- `user_name` - (Required) Name of the user (e.g. `my-db-user`).
+### Optional
-- `database_name` - (Required) Name of the database (e.g. `my-db-name`).
+- `region` (String) The region you want to attach the resource to
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
-- `permission` - (Required) Permission to set. Valid values are `readonly`, `readwrite`, `all`, `custom` and `none`.
+### Read-Only
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the resource exists.
+- `id` (String) The ID of this resource.
-## Attributes Reference
+
+### Nested Schema for `timeouts`
-In addition to all arguments above, the following attributes are exported:
+Optional:
-- `id` - The ID of the user privileges, which is of the form `{region}/{instance_id}/{database_name}/{user_name}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111/database_name/foo`
-
-## Import
-
-The user privileges can be imported using the `{region}/{instance_id}/{database_name}/{user_name}`, e.g.
-
-```bash
-$ terraform import scaleway_documentdb_privilege.o fr-par/11111111-1111-1111-1111-111111111111/database_name/foo
-```
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
+- `update` (String)
diff --git a/docs/resources/documentdb_read_replica.md b/docs/resources/documentdb_read_replica.md
index 60ff56cf9..835d6fac4 100644
--- a/docs/resources/documentdb_read_replica.md
+++ b/docs/resources/documentdb_read_replica.md
@@ -1,83 +1,75 @@
---
-subcategory: "Databases"
-page_title: "Scaleway: scaleway_documentdb_read_replica"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_documentdb_read_replica Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_documentdb_read_replica
+# scaleway_documentdb_read_replica (Resource)
-Creates and manages Scaleway DocumentDB Database read replicas.
-## Example Usage
-### Basic
-```terraform
-resource scaleway_documentdb_read_replica "replica" {
- instance_id = "11111111-1111-1111-1111-111111111111"
- direct_access {}
-}
-```
-### Private network
+
+## Schema
-```terraform
-resource "scaleway_vpc_private_network" "pn" {}
+### Required
-resource "scaleway_documentdb_read_replica" "replica" {
- instance_id = scaleway_rdb_instance.instance.id
- private_network {
- private_network_id = scaleway_vpc_private_network.pn.id
- service_ip = "192.168.1.254/24" // omit this attribute if private IP is determined by the IP Address Management (IPAM)
- }
-}
-```
+- `instance_id` (String) Id of the rdb instance to replicate
-## Argument Reference
+### Optional
-The following arguments are supported:
+- `direct_access` (Block List, Max: 1) Direct access endpoint, it gives you an IP and a port to access your read-replica (see [below for nested schema](#nestedblock--direct_access))
+- `private_network` (Block List, Max: 1) Private network endpoints (see [below for nested schema](#nestedblock--private_network))
+- `region` (String) The region you want to attach the resource to
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
-- `instance_id` - (Required) UUID of the documentdb instance.
+### Read-Only
-~> **Important:** The replica musts contains at least one of `direct_access` or `private_network`. It can contain both.
+- `endpoints_spec` (List of Object) Endpoints specs (see [below for nested schema](#nestedatt--endpoints_spec))
+- `id` (String) The ID of this resource.
-- `direct_access` - (Optional) Creates a direct access endpoint to documentdb replica.
+
+### Nested Schema for `direct_access`
-- `private_network` - (Optional) Create an endpoint in a private network.
- - `private_network_id` - (Required) UUID of the private network to be connected to the read replica.
- - `service_ip` - (Optional) The IP network address within the private subnet. This must be an IPv4 address with a
- CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM)
- service if not set.
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions)
- in which the Database read replica should be created.
+
+### Nested Schema for `private_network`
-## Attributes Reference
+Required:
-In addition to all arguments above, the following attributes are exported:
+- `private_network_id` (String) UUID of the private network to be connected to the read replica (UUID format)
-- `id` - The ID of the Database read replica.
+Optional:
-~> **Important:** Database read replicas' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means
-they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
+- `service_ip` (String) The IP network address within the private subnet
-- `direct_access` - List of load balancer endpoints of the database read replica.
- - `endpoint_id` - The ID of the endpoint of the read replica.
- - `ip` - IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set.
- - `port` - TCP port of the endpoint.
- - `name` - Name of the endpoint.
- - `hostname` - Hostname of the endpoint. Only one of ip and hostname may be set.
+Read-Only:
-- `private_network` - List of private networks endpoints of the database read replica.
- - `endpoint_id` - The ID of the endpoint of the read replica.
- - `ip` - IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set.
- - `port` - TCP port of the endpoint.
- - `name` - Name of the endpoint.
- - `hostname` - Hostname of the endpoint. Only one of ip and hostname may be set.
+- `zone` (String) Private network zone
-## Import
-Database Read replica can be imported using the `{region}/{id}`, e.g.
+
+### Nested Schema for `timeouts`
-```bash
-$ terraform import scaleway_documentdb_read_replica.rr fr-par/11111111-1111-1111-1111-111111111111
-```
+Optional:
+
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
+- `update` (String)
+
+
+
+### Nested Schema for `endpoints_spec`
+
+Read-Only:
+
+- `endpoint_id` (String)
+- `hostname` (String)
+- `ip` (String)
+- `name` (String)
+- `port` (Number)
diff --git a/docs/resources/documentdb_user.md b/docs/resources/documentdb_user.md
index 370438330..3d0cbd9f3 100644
--- a/docs/resources/documentdb_user.md
+++ b/docs/resources/documentdb_user.md
@@ -1,58 +1,43 @@
---
-subcategory: "Databases"
-page_title: "Scaleway: scaleway_documentdb_user"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_documentdb_user Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_documentdb_user
+# scaleway_documentdb_user (Resource)
-Creates and manages Scaleway Database DocumentDB Users.
-## Example Usage
-### Basic
-```terraform
-resource "random_password" "db_password" {
- length = 16
- special = true
-}
-resource "scaleway_documentdb_user" "db_admin" {
- instance_id = "11111111-1111-1111-1111-111111111111"
- name = "devtools"
- password = random_password.db_password.result
- is_admin = true
-}
-```
+
+## Schema
-## Argument Reference
+### Required
-The following arguments are supported:
+- `instance_id` (String) Instance on which the user is created
+- `name` (String) Database user name
+- `password` (String, Sensitive) Database user password
-- `instance_id` - (Required) UUID of the documentDB instance.
+### Optional
-~> **Important:** Updates to `instance_id` will recreate the Database User.
+- `is_admin` (Boolean) Grant admin permissions to database user
+- `region` (String) The region you want to attach the resource to
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
-- `name` - (Required) Database Username.
+### Read-Only
-~> **Important:** Updates to `name` will recreate the Database User.
+- `id` (String) The ID of this resource.
-- `password` - (Required) Database User password.
+
+### Nested Schema for `timeouts`
-- `is_admin` - (Optional) Grant admin permissions to the Database User.
+Optional:
-- `region` - The Scaleway region this resource resides in.
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `id` - The ID of the user, which is of the form `{region}/{instance_id}/{user_name}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111/admin`
-
-## Import
-
-Database User can be imported using `{region}/{instance_id}/{user_name}`, e.g.
-
-```bash
-$ terraform import scaleway_documentdb_user.admin fr-par/11111111-1111-1111-1111-111111111111/admin
-```
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
+- `update` (String)
diff --git a/docs/resources/domain_record.md b/docs/resources/domain_record.md
index 5538d8d68..74cff7801 100644
--- a/docs/resources/domain_record.md
+++ b/docs/resources/domain_record.md
@@ -1,249 +1,106 @@
---
-subcategory: "Domains and DNS"
-page_title: "Scaleway: scaleway_domain_record"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_domain_record Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_domain_record
-
-Creates and manages Scaleway Domain record.
-For more information, see [the documentation](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/).
-
-## Example Usage
-
-### Basic
-
-```terraform
-resource "scaleway_domain_record" "www" {
- dns_zone = "domain.tld"
- name = "www"
- type = "A"
- data = "1.2.3.4"
- ttl = 3600
-}
-
-resource "scaleway_domain_record" "www2" {
- dns_zone = "domain.tld"
- name = "www"
- type = "A"
- data = "1.2.3.5"
- ttl = 3600
-}
-
-resource "scaleway_domain_record" "mx" {
- dns_zone = "domain.tld"
- name = ""
- type = "MX"
- data = "mx.online.net."
- ttl = 3600
- priority = 10
-}
-
-resource "scaleway_domain_record" "mx2" {
- dns_zone = "domain.tld"
- name = ""
- type = "MX"
- data = "mx-cache.online.net."
- ttl = 3600
- priority = 20
-}
-```
-
-### With dynamic records
-
-```terraform
-resource "scaleway_domain_record" "geo_ip" {
- dns_zone = "domain.tld"
- name = "images"
- type = "A"
- data = "1.2.3.4"
- ttl = 3600
-
- geo_ip {
- matches {
- continents = ["EU"]
- countries = ["FR"]
- data = "1.2.3.5"
- }
-
- matches {
- continents = ["NA"]
- data = "4.3.2.1"
- }
- }
-}
-
-resource "scaleway_domain_record" "http_service" {
- dns_zone = "domain.tld"
- name = "app"
- type = "A"
- data = "1.2.3.4"
- ttl = 3600
-
- http_service {
- ips = ["1.2.3.5", "1.2.3.6"]
- must_contain = "up"
- url = "http://mywebsite.com/health"
- user_agent = "scw_service_up"
- strategy = "hashed"
- }
-}
-
-resource "scaleway_domain_record" "view" {
- dns_zone = "domain.tld"
- name = "db"
- type = "A"
- data = "1.2.3.4"
- ttl = 3600
-
- view {
- subnet = "100.0.0.0/16"
- data = "1.2.3.5"
- }
-
- view {
- subnet = "100.1.0.0/16"
- data = "1.2.3.6"
- }
-}
-
-resource "scaleway_domain_record" "weighted" {
- dns_zone = "domain.tld"
- name = "web"
- type = "A"
- data = "1.2.3.4"
- ttl = 3600
-
- weighted {
- ip = "1.2.3.5"
- weight = 1
- }
-
- weighted {
- ip = "1.2.3.6"
- weight = 2
- }
-}
-```
-
-### Create an instance and add records with the new instance IP
-
-```terraform
-variable "project_id" {
- type = string
- description = "Your project ID."
-}
-
-variable "dns_zone" {
- type = string
- description = "The DNS Zone used for testing records."
-}
-
-resource "scaleway_instance_ip" "public_ip" {
- project_id = var.project_id
-}
-
-resource "scaleway_instance_server" "web" {
- project_id = var.project_id
- type = "DEV1-S"
- image = "ubuntu_jammy"
- tags = ["front", "web"]
- ip_id = scaleway_instance_ip.public_ip.id
-
- root_volume {
- size_in_gb = 20
- }
-}
-
-resource "scaleway_domain_record" "web_A" {
- dns_zone = var.dns_zone
- name = "web"
- type = "A"
- data = scaleway_instance_server.web.public_ip
- ttl = 3600
-}
-
-resource "scaleway_domain_record" "web_cname" {
- dns_zone = var.dns_zone
- name = "www"
- type = "CNAME"
- data = "web.${var.dns_zone}."
- ttl = 3600
-}
-
-resource "scaleway_domain_record" "web_alias" {
- dns_zone = var.dns_zone
- name = ""
- type = "ALIAS"
- data = "web.${var.dns_zone}."
- ttl = 3600
-}
-```
-
-## Argument Reference
-
-The following arguments are supported:
-
-- `dns_zone` - (Required) The DNS Zone of the domain. If the DNS zone doesn't exist, it will be automatically created.
-
-- `keep_empty_zone` - (Optional, default: `false`) When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Please note, each zone not deleted will [cost you money](https://www.scaleway.com/en/dns/)
-
-- `name` - (Optional) The name of the record (can be an empty string for a root record).
-
-- `type` - (Required) The type of the record (`A`, `AAAA`, `MX`, `CNAME`, `DNAME`, `ALIAS`, `NS`, `PTR`, `SRV`, `TXT`, `TLSA`, or `CAA`).
-
-- `data` - (Required) The content of the record (an IPv4 for an `A`, a string for a `TXT`...).
-
-- `ttl` - (Optional, default: `3600`) Time To Live of the record in seconds.
-
-- `priority` - (Optional, default: `0`) The priority of the record (mostly used with an `MX` record)
+# scaleway_domain_record (Resource)
+
+
+
+
+
+
+## Schema
+
+### Required
+
+- `data` (String) The data of the record
+- `dns_zone` (String) The zone you want to add the record in
+- `type` (String) The type of the record
+
+### Optional
+
+- `geo_ip` (Block List, Max: 1) Return record based on client localisation (see [below for nested schema](#nestedblock--geo_ip))
+- `http_service` (Block List, Max: 1) Return record based on client localisation (see [below for nested schema](#nestedblock--http_service))
+- `keep_empty_zone` (Boolean) When destroy a resource record, if a zone have only NS, delete the zone
+- `name` (String) The name of the record
+- `priority` (Number) The priority of the record
+- `project_id` (String) The project_id you want to attach the resource to
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
+- `ttl` (Number) The ttl of the record
+- `view` (Block List) Return record based on client subnet (see [below for nested schema](#nestedblock--view))
+- `weighted` (Block List) Return record based on weight (see [below for nested schema](#nestedblock--weighted))
+
+### Read-Only
+
+- `fqdn` (String) The FQDN of the record
+- `id` (String) The ID of this resource.
+- `root_zone` (Boolean) Does the DNS zone is the root zone or not
+
+
+### Nested Schema for `geo_ip`
+
+Required:
+
+- `matches` (Block List, Min: 1) The list of matches (see [below for nested schema](#nestedblock--geo_ip--matches))
+
+
+### Nested Schema for `geo_ip.matches`
+
+Required:
+
+- `data` (String) The data of the match result
+
+Optional:
+
+- `continents` (List of String) List of continents (eg: EU for Europe, NA for North America, AS for Asia...). List of all continents code: https://api.scaleway.com/domain-private/v2beta1/continents
+- `countries` (List of String) List of countries (eg: FR for France, US for the United States, GB for Great Britain...). List of all countries code: https://api.scaleway.com/domain-private/v2beta1/countries
-### Dynamic records
-- `geo_ip` - (Optional) The Geo IP feature provides DNS resolution, based on the user’s geographical location. You can define a default IP that resolves if no Geo IP rule matches, and specify IPs for each geographical zone. [Documentation and usage example](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/#geo-ip-records)
- - `matches` - (Required) The list of matches. *(Can be more than 1)*
- - `countries` - (Optional) List of countries (eg: `FR` for France, `US` for the United States, `GB` for Great Britain...). [List of all countries code](https://api.scaleway.com/domain-private/v2beta1/countries)
- - `continents` - (Optional) List of continents (eg: `EU` for Europe, `NA` for North America, `AS` for Asia...). [List of all continents code](https://api.scaleway.com/domain-private/v2beta1/continents)
- - `data` (Required) The data of the match result
+
+### Nested Schema for `http_service`
-- `http_service` - (Optional) The DNS service checks the provided URL on the configured IPs and resolves the request to one of the IPs by excluding the ones not responding to the given string to check. [Documentation and usage example](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/#healthcheck-records)
- - `ips` - (Required) List of IPs to check
- - `must_contain` - (Required) Text to search
- - `url` - (Required) URL to match the `must_contain` text to validate an IP
- - `user_agent` - (Optional) User-agent used when checking the URL
- - `strategy` - (Required) Strategy to return an IP from the IPs list. Can be `random`, `hashed` or `all`
+Required:
+- `ips` (List of String) IPs to check
+- `must_contain` (String) Text to search
+- `strategy` (String) Strategy to return an IP from the IPs list
+- `url` (String) URL to match the must_contain text to validate an IP
-- `view` - (Optional) The answer to a DNS request is based on the client’s (resolver) subnet. *(Can be more than 1)* [Documentation and usage example](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/#views-records)
- - `subnet` - (Required) The subnet of the view
- - `data` - (Required) The data of the view record
+Optional:
+- `user_agent` (String) User-agent used when checking the URL
-- `weighted` - (Optional) You provide a list of IPs with their corresponding weights. These weights are used to proportionally direct requests to each IP. Depending on the weight of a record more or fewer requests are answered with its related IP compared to the others in the list. *(Can be more than 1)* [Documentation and usage example](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/#weight-records)
- - `ip` - (Required) The weighted IP
- - `weight` - (Required) The weight of the IP as an integer UInt32.
-## Attributes Reference
+
+### Nested Schema for `timeouts`
-In addition to all arguments above, the following attributes are exported:
+Optional:
-- `id` - The ID of the record.
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
+- `update` (String)
-- `fqdn` - The FQDN of the record.
-~> **Important:** Domain records' IDs are of the form `{dns_zone}/{id}`, e.g. `subdomain.domain.tld/11111111-1111-1111-1111-111111111111`
+
+### Nested Schema for `view`
-## Multiple records
+Required:
-Some record types can have multiple `data` with the same `name` (eg: `A`, `AAAA`, `MX`, `NS`...).
-You can duplicate a resource `scaleway_domain_record` with the same `name`, the records will be added.
+- `data` (String) The data of the view record
+- `subnet` (String) The subnet of the view
-Please note, some record (eg: `CNAME`, Multiple dynamic records of different types...) has to be unique.
-## Import
+
+### Nested Schema for `weighted`
-Record can be imported using the `{dns_zone}/{id}`, e.g.
+Required:
-```bash
-$ terraform import scaleway_domain_record.www subdomain.domain.tld/11111111-1111-1111-1111-111111111111
-```
+- `ip` (String) The weighted IP
+- `weight` (Number) The weight of the IP
diff --git a/docs/resources/domain_zone.md b/docs/resources/domain_zone.md
index b4cd21b8f..6f5a6da8d 100644
--- a/docs/resources/domain_zone.md
+++ b/docs/resources/domain_zone.md
@@ -1,56 +1,43 @@
---
-subcategory: "Domains and DNS"
-page_title: "Scaleway: scaleway_domain_zone"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_domain_zone Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_domain_zone
+# scaleway_domain_zone (Resource)
-Creates and manages Scaleway Domain zone.
-For more information, see [the documentation](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/configure-dns-zones/).
-## Example Usage
-```terraform
-resource "scaleway_domain_zone" "test" {
- domain = "scaleway-terraform.com"
- subdomain = "test"
-}
-```
-## Argument Reference
+
+## Schema
-The following arguments are supported:
+### Required
-- `domain` - (Required) The domain where the DNS zone will be created.
+- `domain` (String) The domain where the DNS zone will be created.
+- `subdomain` (String) The subdomain of the DNS zone to create.
-- `subdomain` - (Required) The subdomain(zone name) to create in the domain.
+### Optional
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the domain is associated with.
+- `project_id` (String) The project_id you want to attach the resource to
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
+### Read-Only
-## Attributes Reference
+- `id` (String) The ID of this resource.
+- `message` (String) Message
+- `ns` (List of String) NameServer list for zone.
+- `ns_default` (List of String) NameServer default list for zone.
+- `ns_master` (List of String) NameServer master list for zone.
+- `status` (String) The domain zone status.
+- `updated_at` (String) The date and time of the last update of the DNS zone.
-In addition to all arguments above, the following attributes are exported:
+
+### Nested Schema for `timeouts`
-- `id` - The ID of the zone, which is of the form `{subdomain}.{domain}`
+Optional:
-- `ns` - NameServer list for zone.
-
-- `ns_default` - NameServer default list for zone.
-
-- `ns_master` - NameServer master list for zone.
-
-- `status` - The domain zone status.
-
-- `message` - Message
-
-- `updated_at` - The date and time of the last update of the DNS zone.
-
-## Import
-
-Zone can be imported using the `{subdomain}.{domain}`, e.g.
-
-```bash
-$ terraform import scaleway_domain_zone.test test.scaleway-terraform.com
-```
+- `default` (String)
diff --git a/docs/resources/flexible_ip.md b/docs/resources/flexible_ip.md
index abddbd879..0a9e7fd27 100644
--- a/docs/resources/flexible_ip.md
+++ b/docs/resources/flexible_ip.md
@@ -1,101 +1,47 @@
---
-subcategory: "Elastic Metal"
-page_title: "Scaleway: scaleway_flexible_ip"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_flexible_ip Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_flexible_ip
+# scaleway_flexible_ip (Resource)
-Creates and manages Scaleway flexible IPs.
-For more information, see [the documentation](https://www.scaleway.com/en/developers/api/elastic-metal-flexible-ip).
-## Example Usage
-### Basic
-```terraform
-resource "scaleway_flexible_ip" "main" {
- reverse = "my-reverse.com"
-}
-```
-### With zone
+
+## Schema
-```terraform
-resource "scaleway_flexible_ip" "main" {
- zone = "fr-par-2"
-}
-```
+### Optional
-### With IPv6
+- `description` (String) Description of the flexible IP
+- `is_ipv6` (Boolean) Defines whether the flexible IP has an IPv6 address
+- `project_id` (String) The project_id you want to attach the resource to
+- `reverse` (String) The reverse DNS for this flexible IP
+- `server_id` (String) The baremetal server associated with this flexible IP
+- `tags` (List of String) The tags associated with the flexible IP
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
+- `zone` (String) The zone you want to attach the resource to
-```terraform
-resource "scaleway_flexible_ip" "main" {
- is_ipv6 = "true"
-}
-```
+### Read-Only
-### With baremetal server
+- `created_at` (String) The date and time of the creation of the Flexible IP (Format ISO 8601)
+- `id` (String) The ID of this resource.
+- `ip_address` (String) The IP address of the flexible IP
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `status` (String) The status of the flexible IP
+- `updated_at` (String) The date and time of the last update of the Flexible IP (Format ISO 8601)
-```terraform
-resource "scaleway_account_ssh_key" "main" {
- name = "main"
- public_key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com"
-}
+
+### Nested Schema for `timeouts`
-data "scaleway_baremetal_os" "by_id" {
- zone = "fr-par-2"
- name = "Ubuntu"
- version = "20.04 LTS (Focal Fossa)"
-}
+Optional:
-data "scaleway_baremetal_offer" "my_offer" {
- zone = "fr-par-2"
- name = "EM-A210R-HDD"
-}
-
-resource "scaleway_baremetal_server" "base" {
- zone = "fr-par-2"
- offer = data.scaleway_baremetal_offer.my_offer.offer_id
- os = data.scaleway_baremetal_os.by_id.os_id
- ssh_key_ids = scaleway_account_ssh_key.main.id
-}
-
-resource "scaleway_flexible_ip" "main" {
- server_id = scaleway_baremetal_server.base.id
- zone = "fr-par-2"
-}
-```
-
-## Argument Reference
-
-The following arguments are supported:
-
-- `description` - (Optional) A description of the flexible IP.
-- `tags` - (Optional) A list of tags to apply to the flexible IP.
-- `reverse` - (Optional) The reverse domain associated with this flexible IP.
-- `is_ipv6` - (Optional) Defines whether the flexible IP has an IPv6 address.
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `id` - The ID of the Flexible IP
-
-~> **Important:** Flexible IPs' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
-
-- `ip_address` - The IP address of the Flexible IP.
-- `server_id` - The ID of the associated server.
-- `status` - The status of the flexible IP.
-- `created_at` - The date and time of the creation of the Flexible IP (Format ISO 8601).
-- `updated_at` - The date and time of the last update of the Flexible IP (Format ISO 8601).
-- `zone` - The zone of the Flexible IP.
-- `organization_id` - The organization of the Flexible IP.
-- `project_id` - The project of the Flexible IP.
-
-## Import
-
-Flexible IPs can be imported using the `{zone}/{id}`, e.g.
-
-```bash
-$ terraform import scaleway_flexible_ip.main fr-par-1/11111111-1111-1111-1111-111111111111
-```
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
+- `update` (String)
diff --git a/docs/resources/flexible_ip_mac_address.md b/docs/resources/flexible_ip_mac_address.md
index 8dcf349a7..0c6f23309 100644
--- a/docs/resources/flexible_ip_mac_address.md
+++ b/docs/resources/flexible_ip_mac_address.md
@@ -1,88 +1,48 @@
---
-subcategory: "Elastic Metal"
-page_title: "Scaleway: scaleway_flexible_ip_mac_address"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_flexible_ip_mac_address Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_flexible_ip_mac_address
+# scaleway_flexible_ip_mac_address (Resource)
-Creates and manages Scaleway Flexible IP Mac Addresses.
-For more information, see [the documentation](https://www.scaleway.com/en/developers/api/elastic-metal-flexible-ip/).
-## Example Usage
-### Basic
-```terraform
-resource "scaleway_flexible_ip" "main" {}
-resource "scaleway_flexible_ip_mac_address" "main" {
- flexible_ip_id = scaleway_flexible_ip.main.id
- type = "kvm"
-}
-```
+
+## Schema
-### Duplicate on many other flexible IPs
+### Required
-```terraform
-data "scaleway_baremetal_offer" "my_offer" {
- name = "EM-B112X-SSD"
-}
+- `flexible_ip_id` (String) The ID of the flexible IP for which to generate a virtual MAC
+- `type` (String) The type of the virtual MAC
-resource "scaleway_baremetal_server" "base" {
- name = "TestAccScalewayBaremetalServer_WithoutInstallConfig"
- offer = data.scaleway_baremetal_offer.my_offer.offer_id
- install_config_afterward = true
-}
+### Optional
-resource "scaleway_flexible_ip" "ip01" {
- server_id = scaleway_baremetal_server.base.id
-}
+- `flexible_ip_ids_to_duplicate` (Set of String) The IDs of the flexible IPs on which to duplicate the virtual MAC
-resource "scaleway_flexible_ip" "ip02" {
- server_id = scaleway_baremetal_server.base.id
-}
+**NOTE** : The flexible IPs need to be attached to the same server for the operation to work.
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
+- `zone` (String) The zone you want to attach the resource to
-resource "scaleway_flexible_ip" "ip03" {
- server_id = scaleway_baremetal_server.base.id
-}
+### Read-Only
-resource "scaleway_flexible_ip_mac_address" "main" {
- flexible_ip_id = scaleway_flexible_ip.ip01.id
- type = "kvm"
- flexible_ip_ids_to_duplicate = [
- scaleway_flexible_ip.ip02.id,
- scaleway_flexible_ip.ip03.id
- ]
-}
-```
+- `address` (String) Virtual MAC address
+- `created_at` (String) The date and time of the creation of the virtual MAC (Format ISO 8601)
+- `id` (String) The ID of this resource.
+- `status` (String) Virtual MAC status
+- `updated_at` (String) The date and time of the last update of the virtual MAC (Format ISO 8601)
-## Argument Reference
+
+### Nested Schema for `timeouts`
-The following arguments are supported:
+Optional:
-- `flexible_ip_id`: (Required) The ID of the flexible IP for which to generate a virtual MAC.
-- `type`: (Required) The type of the virtual MAC.
-- `flexible_ip_ids_to_duplicate` - (Optional) The IDs of the flexible IPs on which to duplicate the virtual MAC.
-~> **Important:** The flexible IPs need to be attached to the same server for the operation to work.
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `id` - The ID of the Flexible IP Mac Address
-
-~> **Important:** Flexible IP Mac Addresses' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
-
-- `address` - The Virtual MAC address.
-- `zone` - The zone of the Virtual Mac Address.
-- `status` - The Virtual MAC status.
-- `created_at` - The date at which the Virtual Mac Address was created (RFC 3339 format).
-- `updated_at` - The date at which the Virtual Mac Address was last updated (RFC 3339 format).
-
-## Import
-
-Flexible IP Mac Addresses can be imported using the `{zone}/{id}`, e.g.
-
-```bash
-$ terraform import scaleway_flexible_ip_mac_address.main fr-par-1/11111111-1111-1111-1111-111111111111
-```
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
+- `update` (String)
diff --git a/docs/resources/function.md b/docs/resources/function.md
index 7d428d147..afa082b8b 100644
--- a/docs/resources/function.md
+++ b/docs/resources/function.md
@@ -1,109 +1,59 @@
---
-subcategory: "Functions"
-page_title: "Scaleway: scaleway_function"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_function Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_function
+# scaleway_function (Resource)
-Creates and manages Scaleway Functions.
-For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-functions).
-## Example Usage
-### Basic
-```terraform
-resource "scaleway_function_namespace" "main" {
- name = "main-function-namespace"
- description = "Main function namespace"
-}
-resource scaleway_function main {
- namespace_id = scaleway_function_namespace.main.id
- runtime = "go118"
- handler = "Handle"
- privacy = "private"
-}
-```
+
+## Schema
-### With sources and deploy
+### Required
-You create a zip of your function (ex: `zip function.zip -r go.mod go.sum handler.go`)
+- `handler` (String) Handler of the function. Depends on the runtime https://developers.scaleway.com/en/products/functions/api/#create-a-function
+- `namespace_id` (String) The namespace ID associated with this function
+- `privacy` (String) Privacy of the function. Can be either `private` or `public`
+- `runtime` (String) Runtime of the function
-```terraform
-resource "scaleway_function_namespace" "main" {
- name = "main-function-namespace"
- description = "Main function namespace"
-}
+### Optional
-resource scaleway_function main {
- namespace_id = scaleway_function_namespace.main.id
- runtime = "go118"
- handler = "Handle"
- privacy = "private"
- timeout = 10
- zip_file = "function.zip"
- zip_hash = filesha256("function.zip")
- deploy = true
-}
-```
+- `deploy` (Boolean) Define if the function should be deployed, terraform will wait for function to be deployed
+- `description` (String) The description of the function
+- `environment_variables` (Map of String) The environment variables of the function
+- `http_option` (String) HTTP traffic configuration
+- `max_scale` (Number) Maximum replicas for your function (defaults to 20), our system will scale your functions automatically based on incoming workload, but will never scale the number of replicas above the configured max_scale.
+- `memory_limit` (Number) Memory limit in MB for your function, defaults to 128MB
+- `min_scale` (Number) Minimum replicas for your function, defaults to 0, Note that a function is billed when it gets executed, and using a min_scale greater than 0 will cause your function to run all the time.
+- `name` (String) The name of the function
+- `project_id` (String) The project_id you want to attach the resource to
+- `region` (String) The region you want to attach the resource to
+- `secret_environment_variables` (Map of String, Sensitive) The secret environment variables to be injected into your function at runtime.
+- `timeout` (Number) Holds the max duration (in seconds) the function is allowed for responding to a request
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
+- `zip_file` (String) Location of the zip file to upload containing your function sources
+- `zip_hash` (String) The hash of your source zip file, changing it will re-apply function. Can be any string
-## Argument Reference
+### Read-Only
-The following arguments are supported:
+- `cpu_limit` (Number) CPU limit in mCPU for your function
+- `domain_name` (String) The native function domain name.
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
-- `name` - (Required) The unique name of the function.
+
+### Nested Schema for `timeouts`
-~> **Important** Updates to `name` will recreate the function.
+Optional:
-- `description` (Optional) The description of the function.
-
-- `environment_variables` - The environment variables of the function.
-
-- `secret_environment_variables` - (Optional) The [secret environment](https://www.scaleway.com/en/docs/compute/functions/concepts/#secrets) variables of the function.
-
-- `privacy` - Privacy of the function. Can be either `private` or `public`. Read more on [authentication](https://www.scaleway.com/en/developers/api/serverless-functions/#authentication)
-
-- `runtime` - Runtime of the function. Runtimes can be fetched using [specific route](https://www.scaleway.com/en/developers/api/serverless-functions/#get-f7de6a
-
-- `min_scale` - Minimum replicas for your function, defaults to 0, Note that a function is billed when it gets executed, and using a min_scale greater than 0 will cause your function container to run constantly.
-
-- `max_scale` - Maximum replicas for your function (defaults to 20), our system will scale your functions automatically based on incoming workload, but will never scale the number of replicas above the configured max_scale.
-
-- `memory_limit` - Memory limit in MB for your function, defaults to 128MB
-
-- `handler` - Handler of the function. Depends on the runtime ([function guide](https://www.scaleway.com/en/developers/api/serverless-functions/#create-a-function))
-
-- `timeout` - Holds the max duration (in seconds) the function is allowed for responding to a request
-
-- `zip_file` - Location of the zip file to upload containing your function sources
-
-- `zip_hash` - The hash of your source zip file, changing it will re-apply function. Can be any string, changing it will just trigger state change. You can use any terraform hash function to trigger a change on your zip change (see examples)
-
-- `deploy` - Define if the function should be deployed, terraform will wait for function to be deployed. Function will get deployed if you change source zip
-
-- `region` - (Defaults to [provider](../index.md#region) `region`). The [region](../guides/regions_and_zones.md#regions) in which the namespace should be created.
-
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the namespace is associated with.
-
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `id` - The ID of the function
-
-~> **Important:** Functions' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
-
-- `namespace_id` - The namespace ID the function is associated with.
-- `domain_name` - The native domain name of the function
-- `organization_id` - The organization ID the function is associated with.
-- `cpu_limit` - The CPU limit in mCPU for your function. More infos on resources [here](https://www.scaleway.com/en/developers/api/serverless-functions/#functions)
-
-## Import
-
-Functions can be imported using the `{region}/{id}`, e.g.
-
-```bash
-$ terraform import scaleway_function.main fr-par/11111111-1111-1111-1111-111111111111
-```
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
+- `update` (String)
diff --git a/docs/resources/function_cron.md b/docs/resources/function_cron.md
index d690fbbd6..7b843f319 100644
--- a/docs/resources/function_cron.md
+++ b/docs/resources/function_cron.md
@@ -1,74 +1,44 @@
---
-subcategory: "Functions"
-page_title: "Scaleway: scaleway_function_cron"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_function_cron Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_function_cron
+# scaleway_function_cron (Resource)
-Creates and manages Scaleway Function Triggers. For the moment, the feature is limited to CRON Schedule (time-based).
-For more details about the limitation
-check [functions-limitations](https://www.scaleway.com/en/docs/compute/functions/reference-content/functions-limitations/).
-You can check also
-our [functions cron api documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#crons-942bf4).
-## Example Usage
-```terraform
-resource scaleway_function_namespace main {
- name = "test-cron"
-}
+
+## Schema
-resource scaleway_function main {
- name = "test-cron"
- namespace_id = scaleway_function_namespace.main.id
- runtime = "node14"
- privacy = "private"
- handler = "handler.handle"
-}
+### Required
-resource scaleway_function_cron main {
- name = "test-cron"
- function_id = scaleway_function.main.id
- schedule = "0 0 * * *"
- args = jsonencode({test = "scw"})
-}
+- `args` (String) Functions arguments as json object to pass through during execution.
+- `function_id` (String) The ID of the function to create a cron for.
+- `schedule` (String) Cron format string, e.g. 0 * * * * or @hourly, as schedule time of its jobs to be created and executed.
-resource scaleway_function_cron func {
- function_id = scaleway_function.main.id
- schedule = "0 1 * * *"
- args = jsonencode({my_var = "terraform"})
-}
-```
+### Optional
-## Argument Reference
+- `name` (String) The name of the cron job.
+- `region` (String) The region you want to attach the resource to
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
-The following arguments are required:
+### Read-Only
-- `schedule` - (Required) Cron format string, e.g. @hourly, as schedule time of its jobs to be created and
- executed.
-- `function_id` - (Required) The function ID to link with your cron.
-- `args` - (Required) The key-value mapping to define arguments that will be passed to your function’s event object
- during
-- `name` - (Optional) The name of the cron. If not provided, the name is generated.
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions)
- in where the job was created.
+- `id` (String) The ID of this resource.
+- `status` (String) Cron job status.
-## Attributes Reference
+
+### Nested Schema for `timeouts`
-In addition to all arguments above, the following attributes are exported:
+Optional:
-- `id` - The function CRON's ID.
-
-~> **Important:** Function CRONs' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
-
-- `status` - The cron status.
-
-## Import
-
-Container Cron can be imported using the `{region}/{id}`, e.g.
-
-```bash
-$ terraform import scaleway_function_cron.main fr-par/11111111-1111-1111-1111-111111111111
-```
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
+- `update` (String)
diff --git a/docs/resources/function_domain.md b/docs/resources/function_domain.md
index ed9e5b047..75ea85ea0 100644
--- a/docs/resources/function_domain.md
+++ b/docs/resources/function_domain.md
@@ -1,64 +1,42 @@
---
-subcategory: "Functions"
-page_title: "Scaleway: scaleway_function_domain"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_function_domain Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_function_domain
+# scaleway_function_domain (Resource)
-Creates and manages Scaleway Function Domain bindings.
-For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-functions).
-## Example Usage
-### Basic
-```terraform
-resource "scaleway_function_domain" "main" {
- function_id = scaleway_function.main.id
- hostname = "example.com"
- depends_on = [
- scaleway_function.main,
- ]
-}
+
+## Schema
-resource scaleway_function_namespace main {}
+### Required
-resource scaleway_function main {
- namespace_id = scaleway_function_namespace.main.id
- runtime = "go118"
- privacy = "private"
- handler = "Handle"
- zip_file = "testfixture/gofunction.zip"
- deploy = true
-}
-```
+- `function_id` (String) The ID of the function
+- `hostname` (String) The hostname that should be redirected to the function
-## Argument Reference
+### Optional
-The following arguments are supported:
+- `region` (String) The region you want to attach the resource to
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
-- `function_id` - (Required) The ID of the function you want to create a domain with.
-- `hostname` - (Required) The hostname that should resolve to your function id native domain.
- You should use a CNAME domain record that point to your native function `domain_name` for it.
+### Read-Only
-~> **Important** Updates to `function_id` or `hostname` will recreate the domain.
+- `id` (String) The ID of this resource.
+- `url` (String) URL to use to trigger the function
-## Attributes Reference
+
+### Nested Schema for `timeouts`
-In addition to all arguments above, the following attributes are exported:
+Optional:
-- `id` - The function domain's ID.
-
-~> **Important:** Function domains' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
-
-- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in where the domain was created.
-- `url` - The URL that triggers the function
-
-## Import
-
-Domain can be imported using the `{region}/{id}`, e.g.
-
-```bash
-$ terraform import scaleway_function_domain.main fr-par/11111111-1111-1111-1111-111111111111
-```
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
+- `update` (String)
diff --git a/docs/resources/function_namespace.md b/docs/resources/function_namespace.md
index e8661963a..f33b121c6 100644
--- a/docs/resources/function_namespace.md
+++ b/docs/resources/function_namespace.md
@@ -1,60 +1,44 @@
---
-subcategory: "Functions"
-page_title: "Scaleway: scaleway_function_namespace"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_function_namespace Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_function_namespace
+# scaleway_function_namespace (Resource)
-Creates and manages Scaleway Function Namespace.
-For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-functions/).
-## Example Usage
-### Basic
-```terraform
-resource "scaleway_function_namespace" "main" {
- name = "main-function-namespace"
- description = "Main function namespace"
-}
-```
-## Argument Reference
+
+## Schema
-The following arguments are supported:
+### Optional
-- `name` - (Required) The unique name of the function namespace.
+- `description` (String) The description of the function namespace
+- `environment_variables` (Map of String) The environment variables of the function namespace
+- `name` (String) The name of the function namespace
+- `project_id` (String) The project_id you want to attach the resource to
+- `region` (String) The region you want to attach the resource to
+- `secret_environment_variables` (Map of String, Sensitive) The environment variables of the function namespace
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
-~> **Important** Updates to `name` will recreate the namespace.
+### Read-Only
-- `description` (Optional) The description of the namespace.
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `registry_endpoint` (String) The endpoint reachable by docker
+- `registry_namespace_id` (String) The ID of the registry namespace
-- `region` - (Defaults to [provider](../index.md#region) `region`). The [region](../guides/regions_and_zones.md#regions) in which the namespace should be created.
+
+### Nested Schema for `timeouts`
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the namespace is associated with.
+Optional:
-- `environment_variables` - (Optional) The environment variables of the namespace.
-
-- `secret_environment_variables` - (Optional) The [secret environment](https://www.scaleway.com/en/docs/compute/containers/concepts/#secrets) variables of the namespace.
-
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `id` - The ID of the namespace
-
-~> **Important:** Function namespaces' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
-
-- `organization_id` - The organization ID the namespace is associated with.
-- `registry_endpoint` - The registry endpoint of the namespace.
-- `registry_namespace_id` - The registry namespace ID of the namespace.
-
-
-## Import
-
-Namespaces can be imported using the `{region}/{id}`, e.g.
-
-```bash
-$ terraform import scaleway_function_namespace.main fr-par/11111111-1111-1111-1111-111111111111
-```
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
+- `update` (String)
diff --git a/docs/resources/function_token.md b/docs/resources/function_token.md
index c6ca0bad5..5deb79b7c 100644
--- a/docs/resources/function_token.md
+++ b/docs/resources/function_token.md
@@ -1,74 +1,29 @@
---
-subcategory: "Functions"
-page_title: "Scaleway: scaleway_function_token"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_function_token Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_function_token
+# scaleway_function_token (Resource)
-Creates and manages Scaleway Function Token.
-For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#tokens-26b085).
-## Example Usage
-### Basic
-```terraform
-resource scaleway_function_namespace main {
- name = "test-function-token-ns"
-}
-resource scaleway_function main {
- namespace_id = scaleway_function_namespace.main.id
- runtime = "go118"
- handler = "Handle"
- privacy = "private"
-}
+
+## Schema
-// Namespace Token
-resource scaleway_function_token namespace {
- namespace_id = scaleway_function_namespace.main.id
- expires_at = "2022-10-18T11:35:15+02:00"
-}
+### Optional
-// Function Token
-resource scaleway_function_token function {
- function_id = scaleway_function.main.id
-}
-```
+- `description` (String)
+- `expires_at` (String)
+- `function_id` (String)
+- `namespace_id` (String)
+- `region` (String) The region you want to attach the resource to
-## Argument Reference
+### Read-Only
-The following arguments are supported:
-
-- `namespace_id` - (Required) The ID of the function namespace.
-
-- `function_id` - (Required) The ID of the function.
-
-~> Only one of `namespace_id` or `function_id` must be set.
-
-- `description` (Optional) The description of the token.
-
-- `expires_at` (Optional) The expiration date of the token.
-
-- `region` - (Defaults to [provider](../index.md#region) `region`). The [region](../guides/regions_and_zones.md#regions) in which the namespace should be created.
-
-~> **Important** Updates to any fields will recreate the token.
-
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `id` - The ID of the token.
-
-~> **Important:** Function tokens' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
-
-- `token` - The token.
-
-## Import
-
-Tokens can be imported using the `{region}/{id}`, e.g.
-
-```bash
-$ terraform import scaleway_function_token.main fr-par/11111111-1111-1111-1111-111111111111
-```
+- `id` (String) The ID of this resource.
+- `token` (String, Sensitive)
diff --git a/docs/resources/function_trigger.md b/docs/resources/function_trigger.md
index af0a1f09b..defd9dd2c 100644
--- a/docs/resources/function_trigger.md
+++ b/docs/resources/function_trigger.md
@@ -1,83 +1,72 @@
---
-subcategory: "Functions"
-page_title: "Scaleway: scaleway_function_trigger"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_function_trigger Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_function_trigger
+# scaleway_function_trigger (Resource)
-Creates and manages Scaleway Function Triggers.
-For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-triggers).
-## Example Usage
-### SQS
-```terraform
-resource scaleway_function_trigger main {
- function_id = scaleway_function.main.id
- name = "my-trigger"
- sqs {
- project_id = scaleway_mnq_sqs.main.project_id
- queue = "MyQueue"
- # If region is different
- region = scaleway_mnq_sqs.main.region
- }
-}
-```
-### Nats
+
+## Schema
-```terraform
-resource scaleway_function_trigger main {
- container_id = scaleway_container.main.id
- name = "my-trigger"
- nats {
- account_id = scaleway_mnq_nats_account.main.id
- subject = "MySubject"
- # If region is different
- region = scaleway_mnq_nats_account.main.region
- }
-}
-```
+### Required
-## Argument Reference
+- `function_id` (String) The ID of the function to create a trigger for
-The following arguments are supported:
+### Optional
-- `function_id` (Required) The ID of the function to create a trigger for
+- `description` (String) The trigger description
+- `name` (String) The trigger name
+- `nats` (Block List, Max: 1) Config for nats based trigger using scaleway mnq (see [below for nested schema](#nestedblock--nats))
+- `region` (String) The region you want to attach the resource to
+- `sqs` (Block List, Max: 1) Config for sqs based trigger using scaleway mnq (see [below for nested schema](#nestedblock--sqs))
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
-- `name` - (Optional) The unique name of the trigger. Default to a generated name.
+### Read-Only
-- `description` (Optional) The description of the trigger.
+- `id` (String) The ID of this resource.
-- `sqs` The configuration of the Scaleway's SQS used by the trigger
- - `namespace_id` (Deprecated) ID of the mnq namespace. Deprecated.
- - `queue` (Required) Name of the queue
- - `project_id` (Optional) ID of the project that contain the mnq namespace, defaults to provider's project
- - `region` (Optional) Region where the mnq namespace is, defaults to provider's region
+
+### Nested Schema for `nats`
-- `nats` The configuration for the Scaleway's Nats used by the trigger
- - `account_id` (Required) ID of the mnq nats account.
- - `subject` (Required) The subject to listen to
- - `project_id` (Optional) ID of the project that contain the mnq nats account, defaults to provider's project
- - `region` (Optional) Region where the mnq nats account is, defaults to provider's region
+Required:
+- `subject` (String) Subject to listen to
-- `region` - (Defaults to [provider](../index.md#region) `region`). The [region](../guides/regions_and_zones.md#regions) in which the namespace should be created.
+Optional:
+- `account_id` (String) ID of the mnq nats account
+- `project_id` (String) Project ID of the project where the mnq sqs exists, defaults to provider project_id
+- `region` (String) Region where the mnq sqs exists, defaults to function's region
-## Attributes Reference
-In addition to all arguments above, the following attributes are exported:
+
+### Nested Schema for `sqs`
-- `id` - The ID of the function trigger
+Required:
-- ~> **Important:** Function Triggers' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
+- `queue` (String) Name of the queue
-## Import
+Optional:
-Function Triggers can be imported using the `{region}/{id}`, e.g.
+- `namespace_id` (String) ID of the mnq namespace
+- `project_id` (String) Project ID of the project where the mnq sqs exists, defaults to provider project_id
+- `region` (String) Region where the mnq sqs exists, defaults to function's region
-```bash
-$ terraform import scaleway_function_trigger.main fr-par/11111111-1111-1111-1111-111111111111
-```
+
+
+### Nested Schema for `timeouts`
+
+Optional:
+
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
+- `update` (String)
diff --git a/docs/resources/iam_api_key.md b/docs/resources/iam_api_key.md
index 1a3d3f776..9f8184c6c 100644
--- a/docs/resources/iam_api_key.md
+++ b/docs/resources/iam_api_key.md
@@ -1,55 +1,34 @@
---
-subcategory: "IAM"
-page_title: "Scaleway: scaleway_iam_api_key"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_iam_api_key Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_iam_api_key
+# scaleway_iam_api_key (Resource)
-Creates and manages Scaleway IAM API Keys. For more information, please
-check [the documentation](https://www.scaleway.com/en/developers/api/iam/#api-keys-3665ae)
-## Example Usage
-```terraform
-resource "scaleway_iam_application" "ci_cd" {
- name = "My application"
-}
-resource "scaleway_iam_api_key" "main" {
- application_id = scaleway_iam_application.main.id
- description = "a description"
-}
-```
-## Argument Reference
+
+## Schema
-The following arguments are supported:
+### Optional
-- `description`: (Optional) The description of the iam api key.
-- `application_id`: (Optional) ID of the application attached to the api key.
- Only one of the `application_id` and `user_id` should be specified.
-- `user_id` - (Optional) ID of the user attached to the api key.
- Only one of the `application_id` and `user_id` should be specified.
-- `expires_at` - (Optional) The date and time of the expiration of the iam api key. Please note that in case of change,
- the resource will be recreated.
-- `default_project_id` - (Optional) The default project ID to use with object storage.
+- `application_id` (String) ID of the application attached to the api key
+- `default_project_id` (String) The project_id you want to attach the resource to
+- `description` (String) The description of the iam api key
+- `expires_at` (String) The date and time of the expiration of the iam api key. Cannot be changed afterwards
+- `user_id` (String) ID of the user attached to the api key
-## Attributes Reference
+### Read-Only
-In addition to all arguments above, the following attributes are exported:
-
-- `id` - The ID of the API key, which is the access key.
-- `created_at` - The date and time of the creation of the iam api key.
-- `updated_at` - The date and time of the last update of the iam api key.
-- `editable` - Whether the iam api key is editable.
-- `access_key` - The access key of the iam api key.
-- `secret_key`: The secret Key of the iam api key.
-- `creation_ip` - The IP Address of the device which created the API key.
-
-## Import
-
-Api keys can be imported using the `{id}`, e.g.
-
-```bash
-$ terraform import scaleway_iam_api_key.main 11111111111111111111
-```
+- `access_key` (String) The access key of the iam api key
+- `created_at` (String) The date and time of the creation of the iam api key
+- `creation_ip` (String) The IPv4 Address of the device which created the API key
+- `editable` (Boolean) Whether or not the iam api key is editable
+- `id` (String) The ID of this resource.
+- `secret_key` (String, Sensitive) The secret Key of the iam api key
+- `updated_at` (String) The date and time of the last update of the iam api key
diff --git a/docs/resources/iam_application.md b/docs/resources/iam_application.md
index 10fb6b18e..99829d101 100644
--- a/docs/resources/iam_application.md
+++ b/docs/resources/iam_application.md
@@ -1,43 +1,30 @@
---
-subcategory: "IAM"
-page_title: "Scaleway: scaleway_iam_application"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_iam_application Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_iam_application
+# scaleway_iam_application (Resource)
-Creates and manages Scaleway IAM Applications. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#applications-83ce5e).
-## Example Usage
-```terraform
-resource "scaleway_iam_application" "main" {
- name = "My application"
- description = "a description"
-}
-```
-## Argument Reference
-The following arguments are supported:
+
+## Schema
-- `name` - (Optional) The name of the iam application.
-- `description` - (Optional) The description of the iam application.
-- `tags` - (Optional) The tags associated with the application.
-- `organization_id` - (Defaults to [provider](../index.md#organization_d) `organization_id`) The ID of the organization the application is associated with.
+### Optional
-## Attributes Reference
+- `description` (String) The description of the iam application
+- `name` (String) The name of the iam application
+- `organization_id` (String) ID of organization the resource is associated to.
+- `tags` (List of String) The tags associated with the application
-In addition to all arguments above, the following attributes are exported:
+### Read-Only
-- `id` - The ID of the application.
-- `created_at` - The date and time of the creation of the application.
-- `updated_at` - The date and time of the last update of the application.
-- `editable` - Whether the application is editable.
-
-## Import
-
-Applications can be imported using the `{id}`, e.g.
-
-```bash
-$ terraform import scaleway_iam_application.main 11111111-1111-1111-1111-111111111111
-```
+- `created_at` (String) The date and time of the creation of the application
+- `editable` (Boolean) Whether or not the application is editable.
+- `id` (String) The ID of this resource.
+- `updated_at` (String) The date and time of the last update of the application
diff --git a/docs/resources/iam_group.md b/docs/resources/iam_group.md
index 71c97d214..705ff9cc2 100644
--- a/docs/resources/iam_group.md
+++ b/docs/resources/iam_group.md
@@ -1,86 +1,32 @@
---
-subcategory: "IAM"
-page_title: "Scaleway: scaleway_iam_group"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_iam_group Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_iam_group
+# scaleway_iam_group (Resource)
-Creates and manages Scaleway IAM Groups.
-For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb).
-## Example Usage
-### Basic
-```terraform
-resource "scaleway_iam_group" "basic" {
- name = "iam_group_basic"
- description = "basic description"
- application_ids = []
- user_ids = []
-}
-```
-### With applications
+
+## Schema
-```terraform
-resource "scaleway_iam_application" "app" {}
+### Optional
-resource "scaleway_iam_group" "with_app" {
- name = "iam_group_with_app"
- application_ids = [
- scaleway_iam_application.app.id,
- ]
- user_ids = []
-}
-```
+- `application_ids` (Set of String) List of IDs of the applications attached to the group
+- `description` (String) The description of the iam group
+- `external_membership` (Boolean) Handle user and application memberships externally
+- `name` (String) The name of the iam group
+- `organization_id` (String) ID of organization the resource is associated to.
+- `tags` (List of String) The tags associated with the application
+- `user_ids` (Set of String) List of IDs of the users attached to the group
-### With users
+### Read-Only
-```terraform
-locals {
- users = toset([
- "user1@mail.com",
- "user2@mail.com"
- ])
-}
-
-data "scaleway_iam_user" "users" {
- for_each = local.users
- email = each.value
-}
-
-resource "scaleway_iam_group" "with_users" {
- name = "iam_group_with_app"
- application_ids = []
- user_ids = [for user in data.scaleway_iam_user.users : user.id]
-}
-```
-
-## Argument Reference
-
-- `name` - (Optional) The name of the IAM group.
-
-- `description` - (Optional) The description of the IAM group.
-
-- `tags` - (Optional) The tags associated with the group.
-
-- `application_ids` - (Optional) The list of IDs of the applications attached to the group.
-
-- `user_ids` - (Optional) The list of IDs of the users attached to the group.
-
-- `external_membership` - (Optional) Manage membership externally. This make the resource ignore user_ids and application_ids. Should be used when using [iam_group_membership](iam_group_membership.md)
-
-- `organization_id` - (Defaults to [provider](../index.md#organization_d) `organization_id`) The ID of the organization the group is associated with.
-
-## Attributes Reference
-
-No additional attributes are exported.
-
-## Import
-
-IAM groups can be imported using the `{id}`, e.g.
-
-```bash
-$ terraform import scaleway_iam_group.basic 11111111-1111-1111-1111-111111111111
-```
+- `created_at` (String) The date and time of the creation of the group
+- `id` (String) The ID of this resource.
+- `updated_at` (String) The date and time of the last update of the group
diff --git a/docs/resources/iam_group_membership.md b/docs/resources/iam_group_membership.md
index 838eeb554..e1f249f06 100644
--- a/docs/resources/iam_group_membership.md
+++ b/docs/resources/iam_group_membership.md
@@ -1,81 +1,29 @@
---
-subcategory: "IAM"
-page_title: "Scaleway: scaleway_iam_group_membership"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_iam_group_membership Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_iam_group_membership
+# scaleway_iam_group_membership (Resource)
-Add members to an IAM group.
-For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#groups-f592eb).
-## Example Usage
-### Application Membership
-```terraform
-resource "scaleway_iam_group" "group" {
- name = "my_group"
- external_membership = true
-}
-resource "scaleway_iam_application" "app" {
- name = "my_app"
-}
+
+## Schema
-resource "scaleway_iam_group_membership" "member" {
- group_id = scaleway_iam_group.group.id
- application_id = scaleway_iam_application.app.id
-}
-```
+### Required
-### Users membership
+- `group_id` (String) The ID of the group to add the user to
-```terraform
-locals {
- users = toset([
- "user1@mail.com",
- "user2@mail.com"
- ])
-}
+### Optional
-data "scaleway_iam_user" "users" {
- for_each = local.users
- email = each.value
-}
+- `application_id` (String) The ID of the user
+- `user_id` (String) The ID of the user
-resource "scaleway_iam_group" "group" {
- name = "my_group"
- external_membership = true
-}
+### Read-Only
-resource "scaleway_iam_group_membership" "members" {
- for_each = data.scaleway_iam_user.users
- group_id = scaleway_iam_group.group.id
- user_id = each.value.id
-}
-```
-
-## Argument Reference
-
-- `group_id` - (Required) ID of the group to add members to.
-
-- `application_id` - (Optional) The ID of the application that will be added to the group.
-
-- `user_id` - (Optional) The ID of the user that will be added to the group
-
-- ~> Only one of `application_id` or `user_id` must be specified
-
-## Attributes Reference
-
-No additional attributes are exported.
-
-## Import
-
-IAM group memberships can be imported using two format:
-
-- For user: `{group_id}/user/{user_id}`
-- For application: `{group_id}/app/{application_id}`
-
-```bash
-$ terraform import scaleway_iam_group_membership.app 11111111-1111-1111-1111-111111111111/app/11111111-1111-1111-1111-111111111111
-```
+- `id` (String) The ID of this resource.
diff --git a/docs/resources/iam_policy.md b/docs/resources/iam_policy.md
index f8f5f61b6..7ac58fe31 100644
--- a/docs/resources/iam_policy.md
+++ b/docs/resources/iam_policy.md
@@ -1,137 +1,50 @@
---
-subcategory: "IAM"
-page_title: "Scaleway: scaleway_iam_policy"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_iam_policy Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_iam_policy
-
-Creates and manages Scaleway IAM Policies. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#policies-54b8a7).
-
-~> You can find a detailed list of all permission sets available at Scaleway in the permission sets [reference page](https://www.scaleway.com/en/docs/identity-and-access-management/iam/reference-content/permission-sets/).
-
-## Example Usage
-
-### Create a policy for an organization's project
-
-```terraform
-provider scaleway {
- organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
-}
-
-data scaleway_account_project "default" {
- name = "default"
-}
-
-resource scaleway_iam_application "app" {
- name = "my app"
-}
-
-resource scaleway_iam_policy "object_read_only" {
- name = "my policy"
- description = "gives app readonly access to object storage in project"
- application_id = scaleway_iam_application.app.id
- rule {
- project_ids = [data.scaleway_account_project.default.id]
- permission_set_names = ["ObjectStorageReadOnly"]
- }
-}
-```
+# scaleway_iam_policy (Resource)
-### Create a policy for all current and future projects in an organization
-```terraform
-resource scaleway_iam_application "app" {
- name = "my app"
-}
-resource scaleway_iam_policy "object_read_only" {
- name = "my policy"
- description = "gives app readonly access to object storage in project"
- application_id = scaleway_iam_application.app.id
- rule {
- organization_id = scaleway_iam_application.app.organization_id
- permission_set_names = ["ObjectStorageReadOnly"]
- }
-}
-```
-### Create a permission for multiple users using a group
-```terraform
-locals {
- users = [
- "user1@mail.com",
- "user2@mail.com",
- ]
- project_name = "default"
-}
+
+## Schema
-data "scaleway_account_project" "project" {
- name = local.project_name
-}
+### Required
-data "scaleway_iam_user" "users" {
- for_each = toset(local.users)
- email = each.value
-}
+- `rule` (Block List, Min: 1) Rules of the policy to create (see [below for nested schema](#nestedblock--rule))
-resource "scaleway_iam_group" "with_users" {
- name = "developers"
- user_ids = [for user in data.scaleway_iam_user.users : user.id]
-}
+### Optional
-resource "scaleway_iam_policy" "iam_tf_storage_policy" {
- name = "developers permissions"
- group_id = scaleway_iam_group.with_users.id
- rule {
- project_ids = [data.scaleway_account_project.project.id]
- permission_set_names = ["InstancesReadOnly"]
- }
-}
-```
+- `application_id` (String) Application id
+- `description` (String) The description of the iam policy
+- `group_id` (String) Group id
+- `name` (String) The name of the iam policy
+- `no_principal` (Boolean) Deactivate policy to a principal
+- `organization_id` (String) ID of organization the resource is associated to.
+- `tags` (List of String) The tags associated with the policy
+- `user_id` (String) User id
-## Argument Reference
+### Read-Only
-The following arguments are supported:
+- `created_at` (String) The date and time of the creation of the policy
+- `editable` (Boolean) Whether or not the policy is editable.
+- `id` (String) The ID of this resource.
+- `updated_at` (String) The date and time of the last update of the policy
-- `name` - (Optional) The name of the iam policy.
-- `description` - (Optional) The description of the iam policy.
-- `tags` - (Optional) The tags associated with the iam policy.
-- `organization_id` - (Defaults to [provider](../index.md#organization_d) `organization_id`) The ID of the organization the policy is associated with.
-- `user_id` - ID of the User the policy will be linked to
-- `group_id` - ID of the Group the policy will be linked to
-- `application_id` - ID of the Application the policy will be linked to
-- `no_principal` - If the policy doesn't apply to a principal.
+
+### Nested Schema for `rule`
-~> **Important** Only one of `user_id`, `group_id`, `application_id` and `no_principal` may be set.
+Required:
-- `rule` - List of rules in the policy.
- - `organization_id` - ID of organization scoped to the rule, this can be used to create a rule for all projects in an organization.
- - `project_ids` - List of project IDs scoped to the rule.
-
- ~> **Important** One of `organization_id` or `project_ids` must be set per rule.
-
- - `permission_set_names` - Names of permission sets bound to the rule.
-
- **_TIP:_** You can use the Scaleway CLI to list the permissions details. e.g:
-
-```shell
- $ scw iam permission-set list
-```
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `id` - The ID of the policy.
-- `created_at` - The date and time of the creation of the policy.
-- `updated_at` - The date and time of the last update of the policy.
-- `editable` - Whether the policy is editable.
-
-## Import
-
-Policies can be imported using the `{id}`, e.g.
-
-```bash
-$ terraform import scaleway_iam_policy.main 11111111-1111-1111-1111-111111111111
-```
+- `permission_set_names` (Set of String) Names of permission sets bound to the rule.
+
+Optional:
+
+- `organization_id` (String) ID of organization scoped to the rule. Only one of project_ids and organization_id may be set.
+- `project_ids` (List of String) List of project IDs scoped to the rule. Only one of project_ids and organization_id may be set.
diff --git a/docs/resources/iam_ssh_key.md b/docs/resources/iam_ssh_key.md
index 6cf428d8d..464b44ee0 100644
--- a/docs/resources/iam_ssh_key.md
+++ b/docs/resources/iam_ssh_key.md
@@ -1,47 +1,34 @@
---
-subcategory: "IAM"
-page_title: "Scaleway: scaleway_iam_ssh_key"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_iam_ssh_key Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_iam_ssh_key
+# scaleway_iam_ssh_key (Resource)
-Creates and manages Scaleway IAM SSH Keys.
-For more information,
-see [the documentation](https://www.scaleway.com/en/developers/api/iam/#ssh-keys-d8ccd4).
-## Example Usage
-```terraform
-resource "scaleway_iam_ssh_key" "main" {
- name = "main"
- public_key = ""
-}
-```
-## Argument Reference
-The following arguments are supported:
+
+## Schema
-- `name` - (Required) The name of the SSH key.
-- `public_key` - (Required) The public SSH key to be added.
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the SSH key is
- associated with.
-- `disabled` - (Optional) The SSH key status.
+### Required
-## Attributes Reference
+- `public_key` (String) The public SSH key
-In addition to all arguments above, the following attributes are exported:
+### Optional
-- `id` - The ID of the SSH public key.
-- `fingerprint` - The fingerprint of the iam SSH key.
-- `organization_id` - The ID of the organization the SSH key is associated with.
-- `created_at` - The date and time of the creation of the SSH key.
-- `updated_at` - The date and time of the last update of the SSH key.
+- `disabled` (Boolean) The SSH key status
+- `name` (String) The name of the iam SSH key
+- `project_id` (String) The project_id you want to attach the resource to
-## Import
+### Read-Only
-SSH keys can be imported using the `id`, e.g.
-
-```bash
-$ terraform import scaleway_iam_ssh_key.main 11111111-1111-1111-1111-111111111111
-```
+- `created_at` (String) The date and time of the creation of the iam SSH Key
+- `fingerprint` (String) The fingerprint of the iam SSH key
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `updated_at` (String) The date and time of the last update of the iam SSH Key
diff --git a/docs/resources/iam_user.md b/docs/resources/iam_user.md
index 6bbfbc584..5caed47f1 100644
--- a/docs/resources/iam_user.md
+++ b/docs/resources/iam_user.md
@@ -1,65 +1,36 @@
---
-subcategory: "IAM"
-page_title: "Scaleway: scaleway_iam_user"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_iam_user Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_iam_user
+# scaleway_iam_user (Resource)
-Creates and manages Scaleway IAM Users.
-For more information, see [the documentation](https://www.scaleway.com/en/developers/api/iam/#path-users-list-users-of-an-organization).
-## Example Usage
-### Basic
-```terraform
-resource "scaleway_iam_user" "basic" {
- email = "test@test.com"
-}
-```
-### Multiple users
+
+## Schema
-```terraform
-locals {
- users = toset([
- "test@test.com",
- "test2@test.com"
- ])
-}
+### Required
-resource scaleway_iam_user user {
- for_each = local.users
- email = each.key
-}
-```
+- `email` (String) The description of the iam user
-## Argument Reference
+### Optional
-- `email` - (Required) The email of the IAM user.
+- `organization_id` (String) ID of organization the resource is associated to.
-- `organization_id` - (Defaults to [provider](../index.md#organization_d) `organization_id`) The ID of the organization the user is associated with.
+### Read-Only
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `id` - The ID of the user (UUID format).
-- `email` - The email of the user
-- `created_at` - The date and time of the creation of the iam user.
-- `updated_at` - The date and time of the last update of the iam user.
-- `deletable` - Whether the iam user is deletable.
-- `organization_id` - The ID of the organization the user.
-- `last_login_at` - The date of the last login.
-- `type` - The type of user. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user).
-- `status` - The status of user invitation. Check the possible values in the [api doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user).
-- `mfa` - Whether the MFA is enabled.
-- `account_root_user_id` - The ID of the account root user associated with the user.
-
-## Import
-
-IAM users can be imported using the `{id}`, e.g.
-
-```bash
-$ terraform import scaleway_iam_user.basic 11111111-1111-1111-1111-111111111111
-```
+- `account_root_user_id` (String) The ID of the account root user associated with the iam user.
+- `created_at` (String) The date and time of the creation of the iam user
+- `deletable` (Boolean) Whether or not the iam user is editable
+- `id` (String) The ID of this resource.
+- `last_login_at` (String) The date and time of last login of the iam user
+- `mfa` (Boolean) Whether or not the MFA is enabled
+- `status` (String) The status of user invitation.
+- `type` (String) The type of the iam user
+- `updated_at` (String) The date and time of the last update of the iam user
diff --git a/docs/resources/instance_image.md b/docs/resources/instance_image.md
index 9263c7c9f..dabe69f93 100644
--- a/docs/resources/instance_image.md
+++ b/docs/resources/instance_image.md
@@ -1,134 +1,72 @@
---
-subcategory: "Instances"
-page_title: "Scaleway: scaleway_instance_image"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_instance_image Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_instance_image
+# scaleway_instance_image (Resource)
-Creates and manages Scaleway Compute Images.
-For more information, see [the documentation](https://www.scaleway.com/en/developers/api/instance/#images-41389b).
-## Example Usage
-### From a volume
-```terraform
-resource "scaleway_instance_volume" "volume" {
- type = "b_ssd"
- size_in_gb = 20
-}
-
-resource "scaleway_instance_snapshot" "volume_snapshot" {
- volume_id = scaleway_instance_volume.volume.id
-}
-
-resource "scaleway_instance_image" "volume_image" {
- name = "image_from_volume"
- root_volume_id = scaleway_instance_snapshot.volume_snapshot.id
-}
-```
-
-### From a server
-
-```terraform
-resource "scaleway_instance_server" "server" {
- image = "ubuntu_jammy"
- type = "DEV1-S"
-}
-
-resource "scaleway_instance_snapshot" "server_snapshot" {
- volume_id = scaleway_instance_server.main.root_volume.0.volume_id
-}
-
-resource "scaleway_instance_image" "server_image" {
- name = "image_from_server"
- root_volume_id = scaleway_instance_snapshot.server_snapshot.id
-}
-```
-
-### With additional volumes
-
-```terraform
-resource "scaleway_instance_server" "server" {
- image = "ubuntu_jammy"
- type = "DEV1-S"
-}
-
-resource "scaleway_instance_volume" "volume" {
- type = "b_ssd"
- size_in_gb = 20
-}
-
-resource "scaleway_instance_snapshot" "volume_snapshot" {
- volume_id = scaleway_instance_volume.volume.id
-}
-resource "scaleway_instance_snapshot" "server_snapshot" {
- volume_id = scaleway_instance_server.main.root_volume.0.volume_id
-}
-
-resource "scaleway_instance_image" "image" {
- name = "image_with_extra_volumes"
- root_volume_id = scaleway_instance_snapshot.server_snapshot.id
- additional_volumes = [
- scaleway_instance_snapshot.volume_snapshot.id
- ]
-}
-```
-
-## Argument Reference
-
-The following arguments are supported:
-
-- `root_volume_id` - (Required) The ID of the snapshot of the volume to be used as root in the image.
-- `name` - (Optional) The name of the image. If not provided it will be randomly generated.
-- `architecture` - (Optional, default `x86_64`) The architecture the image is compatible with. Possible values are: `x86_64` or `arm`.
-- `additional_volume_ids` - (Optional) List of IDs of the snapshots of the additional volumes to be attached to the image.
-
--> **Important:** For now it is only possible to have 1 additional_volume.
-
-- `tags` - (Optional) A list of tags to apply to the image.
-- `public` - (Optional) Set to `true` if the image is public.
-- `zone` - (Defaults to provider `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the image should be created.
-- `project_id` - (Defaults to provider `project_id`) The ID of the project the image is associated with.
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `id` - The ID of the image.
-
-~> **Important:** Instance images' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
-
-- `creation_date` - Date of the image creation.
-- `modification_date` - Date of image latest update.
-- `from_server_id` - ID of the server the image is based on (in case it is a backup).
-- `state` - State of the image. Possible values are: `available`, `creating` or `error`.
-- `organization_id` - The organization ID the image is associated with.
-- `additional_volumes` - The description of the extra volumes attached to the image.
-
- -> The `additional_volumes` block contains :
- - `id` - The ID of the volume.
- - `name` - The name of the volume.
- - `export_uri` - The export URI of the volume.
- - `size` - The size of the volume.
- - `volume_type` - The type of volume, possible values are `l_ssd` and `b_ssd`.
- - `creation_date` - Date of the volume creation.
- - `modification_date` - Date of volume latest update.
- - `organization` - The organization ID the volume is associated with.
- - `project` - ID of the project the volume is associated with
- - `tags` - List of tags associated with the volume.
- - `state` - State of the volume.
- - `zone` - The [zone](../guides/regions_and_zones.md#zones) in which the volume is.
- - `server` - Description of the server containing the volume (in case the image is a backup from a server).
-
- -> The `server` block contains :
- - `id` - ID of the server containing the volume.
- - `name` - Name of the server containing the volume.
-## Import
+
+## Schema
+
+### Required
+
+- `root_volume_id` (String) UUID of the snapshot from which the image is to be created
+
+### Optional
+
+- `additional_volume_ids` (List of String) The IDs of the additional volumes attached to the image
+- `architecture` (String) Architecture of the image (default = x86_64)
+- `name` (String) The name of the image
+- `project_id` (String) The project_id you want to attach the resource to
+- `public` (Boolean) If true, the image will be public
+- `tags` (List of String) List of tags ["tag1", "tag2", ...] attached to the image
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
+- `zone` (String) The zone you want to attach the resource to
+
+### Read-Only
+
+- `additional_volumes` (List of Object) Specs of the additional volumes attached to the image (see [below for nested schema](#nestedatt--additional_volumes))
+- `creation_date` (String) The date and time of the creation of the image
+- `from_server_id` (String) The ID of the backed-up server from which the snapshot was taken
+- `id` (String) The ID of this resource.
+- `modification_date` (String) The date and time of the last modification of the Redis cluster
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `state` (String) The state of the image [ available | creating | error ]
+
+
+### Nested Schema for `timeouts`
+
+Optional:
+
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
+- `update` (String)
+
+
+
+### Nested Schema for `additional_volumes`
-Images can be imported using the `{zone}/{id}`, e.g.
+Read-Only:
-```bash
-$ terraform import scaleway_instance_image.main fr-par-1/11111111-1111-1111-1111-111111111111
-```
+- `creation_date` (String)
+- `export_uri` (String)
+- `id` (String)
+- `modification_date` (String)
+- `name` (String)
+- `organization` (String)
+- `project` (String)
+- `server` (Map of String)
+- `size` (Number)
+- `state` (String)
+- `tags` (List of String)
+- `volume_type` (String)
+- `zone` (String)
diff --git a/docs/resources/instance_ip.md b/docs/resources/instance_ip.md
index 0f24167c5..66ec0d4b0 100644
--- a/docs/resources/instance_ip.md
+++ b/docs/resources/instance_ip.md
@@ -1,47 +1,40 @@
---
-subcategory: "Instances"
-page_title: "Scaleway: scaleway_instance_ip"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_instance_ip Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_instance_ip
+# scaleway_instance_ip (Resource)
-Creates and manages Scaleway Compute Instance IPs. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/instance/#ips-268151).
-## Example Usage
-```terraform
-resource "scaleway_instance_ip" "server_ip" {}
-```
-## Argument Reference
-The following arguments are supported:
+
+## Schema
-- `type` - (Defaults to `nat`) The type of the IP (`nat`, `routed_ipv4`, `routed_ipv6`), more information in [the documentation](https://www.scaleway.com/en/docs/compute/instances/api-cli/using-routed-ips/)
+### Optional
-~> **Important:** An IP can migrate from `nat` to `routed_ipv4` but cannot be converted back
+- `project_id` (String) The project_id you want to attach the resource to
+- `tags` (List of String) The tags associated with the ip
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
+- `type` (String) The type of instance IP
+- `zone` (String) The zone you want to attach the resource to
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the IP should be reserved.
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the IP is associated with.
+### Read-Only
-## Attributes Reference
+- `address` (String) The IP address
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `prefix` (String) The IP prefix
+- `reverse` (String) The reverse DNS for this IP
+- `server_id` (String) The server associated with this IP
-In addition to all arguments above, the following attributes are exported:
+
+### Nested Schema for `timeouts`
-- `id` - The ID of the IP.
+Optional:
-~> **Important:** Instance IPs' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
-
-- `address` - The IP address.
-- `prefix` - The IP Prefix.
-- `reverse` - The reverse dns attached to this IP
-- `organization_id` - The organization ID the IP is associated with.
-- `tags` - The tags associated with the IP.
-
-## Import
-
-IPs can be imported using the `{zone}/{id}`, e.g.
-
-```bash
-$ terraform import scaleway_instance_ip.server_ip fr-par-1/11111111-1111-1111-1111-111111111111
-```
+- `default` (String)
diff --git a/docs/resources/instance_ip_reverse_dns.md b/docs/resources/instance_ip_reverse_dns.md
index 838843508..d5ade6275 100644
--- a/docs/resources/instance_ip_reverse_dns.md
+++ b/docs/resources/instance_ip_reverse_dns.md
@@ -1,54 +1,39 @@
---
-subcategory: "Instances"
-page_title: "Scaleway: scaleway_instance_ip_reverse_dns"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_instance_ip_reverse_dns Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_instance_ip_reverse_dns
+# scaleway_instance_ip_reverse_dns (Resource)
-Manages Scaleway Compute Instance IPs Reverse DNS.
-Please check our [guide](https://www.scaleway.com/en/docs/compute/instances/how-to/configure-reverse-dns/) for more details
-## Example Usage
-```terraform
-resource "scaleway_instance_ip" "server_ip" {}
-resource "scaleway_domain_record" "tf_A" {
- dns_zone = "scaleway.com"
- name = "www"
- type = "A"
- data = "${scaleway_instance_ip.server_ip.address}"
- ttl = 3600
- priority = 1
-}
+
+## Schema
-resource "scaleway_instance_ip_reverse_dns" "reverse" {
- ip_id = scaleway_instance_ip.server_ip.id
- reverse = "www.scaleway.com"
-}
-```
+### Required
-## Argument Reference
+- `ip_id` (String) The IP ID or IP address
+- `reverse` (String) The reverse DNS for this IP
-The following arguments are supported:
+### Optional
-- `ip_id` - (Required) The IP ID
-- `reverse` - (Required) The reverse DNS for this IP.
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the IP should be reserved.
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
+- `zone` (String) The zone you want to attach the resource to
-## Attributes Reference
+### Read-Only
-In addition to all arguments above, the following attributes are exported:
+- `id` (String) The ID of this resource.
-- `id` - The ID of the IP for which the reverse DNS is configured.
+
+### Nested Schema for `timeouts`
-~> **Important:** Instance IPs' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
+Optional:
-## Import
-
-IPs reverse DNS can be imported using the `{zone}/{id}`, e.g.
-
-```bash
-$ terraform import scaleway_instance_ip_reverse_dns.reverse fr-par-1/11111111-1111-1111-1111-111111111111
-```
+- `create` (String)
+- `default` (String)
+- `update` (String)
diff --git a/docs/resources/instance_placement_group.md b/docs/resources/instance_placement_group.md
index 1e7708e8a..bd2a8f94d 100644
--- a/docs/resources/instance_placement_group.md
+++ b/docs/resources/instance_placement_group.md
@@ -1,44 +1,39 @@
---
-subcategory: "Instances"
-page_title: "Scaleway: scaleway_instance_placement_group"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_instance_placement_group Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_instance_placement_group
+# scaleway_instance_placement_group (Resource)
-Creates and manages Compute Instance Placement Groups. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/instance/#placement-groups-d8f653).
-## Example Usage
-```terraform
-resource "scaleway_instance_placement_group" "availability_group" {}
-```
-## Argument Reference
-The following arguments are supported:
+
+## Schema
-- `name` - (Optional) The name of the placement group.
-- `policy_type` - (Defaults to `max_availability`) The [policy type](https://www.scaleway.com/en/developers/api/instance/#placement-groups-d8f653) of the placement group. Possible values are: `low_latency` or `max_availability`.
-- `policy_mode` - (Defaults to `optional`) The [policy mode](https://www.scaleway.com/en/developers/api/instance/#placement-groups-d8f653) of the placement group. Possible values are: `optional` or `enforced`.
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the placement group should be created.
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the placement group is associated with.
-- `tags` - (Optional) A list of tags to apply to the placement group.
+### Optional
-## Attributes Reference
+- `name` (String) The name of the placement group
+- `policy_mode` (String) One of the two policy_mode may be selected: enforced or optional.
+- `policy_type` (String) The operating mode is selected by a policy_type
+- `project_id` (String) The project_id you want to attach the resource to
+- `tags` (List of String) The tags associated with the placement group
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
+- `zone` (String) The zone you want to attach the resource to
-In addition to all arguments above, the following attributes are exported:
+### Read-Only
-- `id` - The ID of the placement group.
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `policy_respected` (Boolean) Is true when the policy is respected.
-~> **Important:** Instance placement groups' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
+
+### Nested Schema for `timeouts`
-- `policy_respected` - Is true when the policy is respected.
-- `organization_id` - The organization ID the placement group is associated with.
+Optional:
-## Import
-
-Placement groups can be imported using the `{zone}/{id}`, e.g.
-
-```bash
-$ terraform import scaleway_instance_placement_group.availability_group fr-par-1/11111111-1111-1111-1111-111111111111
-```
+- `default` (String)
diff --git a/docs/resources/instance_private_nic.md b/docs/resources/instance_private_nic.md
index a40ac1eb2..a615f5a92 100644
--- a/docs/resources/instance_private_nic.md
+++ b/docs/resources/instance_private_nic.md
@@ -1,68 +1,44 @@
---
-subcategory: "Instances"
-page_title: "Scaleway: scaleway_instance_private_nic"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_instance_private_nic Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_instance_private_nic
+# scaleway_instance_private_nic (Resource)
-Creates and manages Scaleway Instance Private NICs. For more information, see
-[the documentation](https://www.scaleway.com/en/developers/api/instance/#private-nics-a42eea).
-## Example Usage
-### Basic
-```terraform
-resource "scaleway_instance_private_nic" "pnic01" {
- server_id = "fr-par-1/11111111-1111-1111-1111-111111111111"
- private_network_id = "fr-par-1/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
-}
-```
-### With zone
+
+## Schema
-```terraform
-resource scaleway_vpc_private_network pn01 {
- name = "private_network_instance"
- zone = "fr-par-2"
-}
+### Required
-resource "scaleway_instance_server" "base" {
- image = "ubuntu_jammy"
- type = "DEV1-S"
- zone = scaleway_vpc_private_network.pn01.zone
-}
+- `private_network_id` (String) The private network ID
+- `server_id` (String) The server ID
-resource "scaleway_instance_private_nic" "pnic01" {
- server_id = scaleway_instance_server.base.id
- private_network_id = scaleway_vpc_private_network.pn01.id
- zone = scaleway_vpc_private_network.pn01.zone
-}
-```
+### Optional
-## Argument Reference
+- `ip_ids` (List of String) IPAM ip list, should be for internal use only
+- `tags` (List of String) The tags associated with the private-nic
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
+- `zone` (String) The zone you want to attach the resource to
-The following arguments are required:
+### Read-Only
-- `server_id` - (Required) The ID of the server associated with.
-- `private_network_id` - (Required) The ID of the private network attached to.
-- `tags` - (Optional) The tags associated with the private NIC.
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the server must be created.
+- `id` (String) The ID of this resource.
+- `mac_address` (String) MAC address of the NIC
-## Attributes Reference
+
+### Nested Schema for `timeouts`
-In addition to all arguments above, the following attributes are exported:
+Optional:
-- `id` - The ID of the private NIC.
-
-~> **Important:** Instance private NICs' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
-
-- `mac_address` - The MAC address of the private NIC.
-
-## Import
-
-Private NICs can be imported using the `{zone}/{server_id}/{private_nic_id}`, e.g.
-
-```bash
-$ terraform import scaleway_instance_private_nic.pnic01 fr-par-1/11111111-1111-1111-1111-111111111111/22222222-2222-2222-2222-222222222222
-```
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
+- `update` (String)
diff --git a/docs/resources/instance_security_group.md b/docs/resources/instance_security_group.md
index a67f0b60b..5568c33ce 100644
--- a/docs/resources/instance_security_group.md
+++ b/docs/resources/instance_security_group.md
@@ -1,157 +1,76 @@
---
-subcategory: "Instances"
-page_title: "Scaleway: scaleway_instance_security_group"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_instance_security_group Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_instance_security_group
+# scaleway_instance_security_group (Resource)
-Creates and manages Scaleway Compute Instance security groups. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/instance/#security-groups-8d7f89).
-## Example Usage
-### Basic
-```terraform
-resource "scaleway_instance_security_group" "allow_all" {
-}
-resource "scaleway_instance_security_group" "web" {
- inbound_default_policy = "drop" # By default we drop incoming traffic that do not match any inbound_rule
+
+## Schema
- inbound_rule {
- action = "accept"
- port = 22
- ip = "212.47.225.64"
- }
+### Optional
- inbound_rule {
- action = "accept"
- port = 80
- }
+- `description` (String) The description of the security group
+- `enable_default_security` (Boolean) Enable blocking of SMTP on IPv4 and IPv6
+- `external_rules` (Boolean)
+- `inbound_default_policy` (String) Default inbound traffic policy for this security group
+- `inbound_rule` (Block List) Inbound rules for this security group (see [below for nested schema](#nestedblock--inbound_rule))
+- `name` (String) The name of the security group
+- `outbound_default_policy` (String) Default outbound traffic policy for this security group
+- `outbound_rule` (Block List) Outbound rules for this security group (see [below for nested schema](#nestedblock--outbound_rule))
+- `project_id` (String) The project_id you want to attach the resource to
+- `stateful` (Boolean) The stateful value of the security group
+- `tags` (List of String) The tags associated with the security group
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
+- `zone` (String) The zone you want to attach the resource to
- inbound_rule {
- action = "accept"
- protocol = "UDP"
- port_range = "22-23"
- }
-}
-```
+### Read-Only
-### Web server with banned IP and restricted internet access
+- `id` (String) The ID of this resource.
+- `organization_id` (String) The organization_id you want to attach the resource to
-```terraform
-resource "scaleway_instance_security_group" "web" {
- inbound_default_policy = "drop" # By default we drop incoming traffic that do not match any inbound_rule.
- outbound_default_policy = "drop" # By default we drop outgoing traffic that do not match any outbound_rule.
+
+### Nested Schema for `inbound_rule`
- inbound_rule {
- action = "drop"
- ip = "1.1.1.1" # Banned IP
- }
+Required:
- inbound_rule {
- action = "accept"
- port = 22
- ip = "212.47.225.64"
- }
+- `action` (String) Action when rule match request (drop or accept)
- inbound_rule {
- action = "accept"
- port = 443
- }
+Optional:
- outbound_rule {
- action = "accept"
- ip = "8.8.8.8" # Only allow outgoing connection to this IP.
- }
-}
-```
+- `ip` (String, Deprecated) Ip address for this rule (e.g: 1.1.1.1). Only one of ip or ip_range should be provided
+- `ip_range` (String) Ip range for this rule (e.g: 192.168.1.0/24). Only one of ip or ip_range should be provided
+- `port` (Number) Network port for this rule
+- `port_range` (String) Computed port range for this rule (e.g: 1-1024, 22-22)
+- `protocol` (String) Protocol for this rule (TCP, UDP, ICMP or ANY)
-### Trusted IP for SSH access (using for_each)
-If you use terraform >= 0.12.6, you can leverage the [`for_each`](https://www.terraform.io/docs/configuration/resources.html#for_each-multiple-resource-instances-defined-by-a-map-or-set-of-strings) feature with this resource.
+
+### Nested Schema for `outbound_rule`
-```terraform
-locals {
- trusted = ["192.168.0.1", "192.168.0.2", "192.168.0.3"]
-}
+Required:
-resource "scaleway_instance_security_group" "dummy" {
- inbound_default_policy = "drop"
- outbound_default_policy = "accept"
+- `action` (String) Action when rule match request (drop or accept)
- dynamic "inbound_rule" {
- for_each = local.trusted
+Optional:
- content {
- action = "accept"
- port = 22
- ip = inbound_rule.value
- }
- }
-}
-```
+- `ip` (String, Deprecated) Ip address for this rule (e.g: 1.1.1.1). Only one of ip or ip_range should be provided
+- `ip_range` (String) Ip range for this rule (e.g: 192.168.1.0/24). Only one of ip or ip_range should be provided
+- `port` (Number) Network port for this rule
+- `port_range` (String) Computed port range for this rule (e.g: 1-1024, 22-22)
+- `protocol` (String) Protocol for this rule (TCP, UDP, ICMP or ANY)
-## Argument Reference
-The following arguments are supported:
+
+### Nested Schema for `timeouts`
-- `name` - (Optional) The name of the security group.
+Optional:
-- `description` - (Optional) The description of the security group.
-
-- `stateful` - (Defaults to `true`) A boolean to specify whether the security group should be stateful or not.
-
-- `inbound_default_policy` - (Defaults to `accept`) The default policy on incoming traffic. Possible values are: `accept` or `drop`.
-
-- `outbound_default_policy` - (Defaults to `accept`) The default policy on outgoing traffic. Possible values are: `accept` or `drop`.
-
-- `inbound_rule` - (Optional) A list of inbound rule to add to the security group. (Structure is documented below.)
-
-- `outbound_rule` - (Optional) A list of outbound rule to add to the security group. (Structure is documented below.)
-
-- `external_rules` - (Defaults to `false`) A boolean to specify whether to use [instance_security_group_rules](../resources/instance_security_group_rules.md).
- If `external_rules` is set to `true`, `inbound_rule` and `outbound_rule` can not be set directly in the security group.
-
-- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the security group should be created.
-
-
-- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the security group is associated with.
-
-- `enable_default_security` - Whether to block SMTP on IPv4/IPv6 (Port 25, 465, 587). Set to false will unblock SMTP if your account is authorized to. If your organization is not yet authorized to send SMTP traffic, [open a support ticket](https://console.scaleway.com/support/tickets).
-
-The `inbound_rule` and `outbound_rule` block supports:
-
-- `action` - (Required) The action to take when rule match. Possible values are: `accept` or `drop`.
-
-- `protocol`- (Defaults to `TCP`) The protocol this rule apply to. Possible values are: `TCP`, `UDP`, `ICMP` or `ANY`.
-
-- `port`- (Optional) The port this rule applies to. If no `port` nor `port_range` are specified, the rule will apply to all port. Only one of `port` and `port_range` should be specified.
-
-- `port_range`- Need terraform >= 0.13.0 (Optional) The port range (e.g `22-23`) this rule applies to.
- If no `port` nor `port_range` are specified, rule will apply to all port.
- Only one of `port` and `port_range` should be specified.
-
-- `ip`- (Optional) The ip this rule apply to. If no `ip` nor `ip_range` are specified, rule will apply to all ip. Only one of `ip` and `ip_range` should be specified.
-
-- `ip_range`- (Optional) The ip range (e.g `192.168.1.0/24`) this rule applies to. If no `ip` nor `ip_range` are specified, rule will apply to all ip. Only one of `ip` and `ip_range` should be specified.
-
-- `tags`- (Optional) The tags of the security group.
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `id` - The ID of the security group.
-
-~> **Important:** Instance security groups' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
-
-- `organization_id` - The organization ID the security group is associated with.
-
-## Import
-
-Instance security group can be imported using the `{zone}/{id}`, e.g.
-
-```bash
-$ terraform import scaleway_instance_security_group.web fr-par-1/11111111-1111-1111-1111-111111111111
-```
+- `default` (String)
diff --git a/docs/resources/instance_security_group_rules.md b/docs/resources/instance_security_group_rules.md
index 66f86e799..5b1e2c86d 100644
--- a/docs/resources/instance_security_group_rules.md
+++ b/docs/resources/instance_security_group_rules.md
@@ -1,144 +1,69 @@
---
-subcategory: "Instances"
-page_title: "Scaleway: scaleway_instance_security_group_rules"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_instance_security_group_rules Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_instance_security_group_rules
-
-Creates and manages Scaleway Compute Instance security group rules. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/instance/#security-groups-8d7f89).
-
-This resource can be used to externalize rules from a `scaleway_instance_security_group` to solve circular dependency problems. When using this resource do not forget to set `external_rules = true` on the security group.
-
-~> **Warning:** In order to guaranty rules order in a given security group only one scaleway_instance_security_group_rules is allowed per security group.
-
-## Example Usage
+# scaleway_instance_security_group_rules (Resource)
-### Basic
-```terraform
-resource "scaleway_instance_security_group" "sg01" {
- external_rules = true
-}
-resource "scaleway_instance_security_group_rules" "sgrs01" {
- security_group_id = scaleway_instance_security_group.sg01.id
- inbound_rule {
- action = "accept"
- port = 80
- ip_range = "0.0.0.0/0"
- }
-}
-```
-### Simplify your rules using dynamic block and `for_each` loop
-You can use [`for_each` syntax](https://www.terraform.io/language/expressions/dynamic-blocks) to simplify the definition of your rules.
-Let's suppose that your inbound default policy is to drop, but you want to build a list of exceptions to accept.
-Create a local containing your exceptions (`locals.trusted`) and use the `for_each` syntax in a [dynamic block](https://www.terraform.io/docs/configuration/expressions/dynamic-blocks.html):
+
+## Schema
-```terraform
-resource "scaleway_instance_security_group" "main" {
- description = "test"
- name = "terraform test"
- inbound_default_policy = "drop"
- outbound_default_policy = "accept"
-}
+### Required
-locals {
- trusted = [
- "1.2.3.4",
- "4.5.6.7",
- "7.8.9.10"
- ]
-}
+- `security_group_id` (String) The security group associated with this volume
-resource "scaleway_instance_security_group_rules" "main" {
- security_group_id = scaleway_instance_security_group.main.id
+### Optional
- dynamic "inbound_rule" {
- for_each = local.trusted
- content {
- action = "accept"
- ip = inbound_rule.value
- port = 80
- }
- }
-}
-```
+- `inbound_rule` (Block List) Inbound rules for this set of security group rules (see [below for nested schema](#nestedblock--inbound_rule))
+- `outbound_rule` (Block List) Outbound rules for this set of security group rules (see [below for nested schema](#nestedblock--outbound_rule))
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
-You can also use object to assign IP and port in the same time.
-In your locals, you can use [objects](https://www.terraform.io/docs/configuration/types.html#structural-types) to encapsulate several values that will be used later on in the loop:
+### Read-Only
-```terraform
-resource "scaleway_instance_security_group" "main" {
- description = "test"
- name = "terraform test"
- inbound_default_policy = "drop"
- outbound_default_policy = "accept"
-}
+- `id` (String) The ID of this resource.
-locals {
- trusted = [
- { ip = "1.2.3.4", port = "80" },
- { ip = "5.6.7.8", port = "81" },
- { ip = "9.10.11.12", port = "81" },
- ]
-}
+
+### Nested Schema for `inbound_rule`
-resource "scaleway_instance_security_group_rules" "main" {
- security_group_id = scaleway_instance_security_group.main.id
+Required:
- dynamic "inbound_rule" {
- for_each = local.trusted
- content {
- action = "accept"
- ip = inbound_rule.value.ip
- port = inbound_rule.value.port
- }
- }
-}
-```
+- `action` (String) Action when rule match request (drop or accept)
-## Argument Reference
+Optional:
-The following arguments are supported:
+- `ip` (String, Deprecated) Ip address for this rule (e.g: 1.1.1.1). Only one of ip or ip_range should be provided
+- `ip_range` (String) Ip range for this rule (e.g: 192.168.1.0/24). Only one of ip or ip_range should be provided
+- `port` (Number) Network port for this rule
+- `port_range` (String) Computed port range for this rule (e.g: 1-1024, 22-22)
+- `protocol` (String) Protocol for this rule (TCP, UDP, ICMP or ANY)
-- `security_group_id` - (Required) The ID of the security group.
-- `inbound_rule` - (Optional) A list of inbound rule to add to the security group. (Structure is documented below.)
+
+### Nested Schema for `outbound_rule`
-- `outbound_rule` - (Optional) A list of outbound rule to add to the security group. (Structure is documented below.)
+Required:
+- `action` (String) Action when rule match request (drop or accept)
-The `inbound_rule` and `outbound_rule` block supports:
+Optional:
-- `action` - (Required) The action to take when rule match. Possible values are: `accept` or `drop`.
+- `ip` (String, Deprecated) Ip address for this rule (e.g: 1.1.1.1). Only one of ip or ip_range should be provided
+- `ip_range` (String) Ip range for this rule (e.g: 192.168.1.0/24). Only one of ip or ip_range should be provided
+- `port` (Number) Network port for this rule
+- `port_range` (String) Computed port range for this rule (e.g: 1-1024, 22-22)
+- `protocol` (String) Protocol for this rule (TCP, UDP, ICMP or ANY)
-- `protocol`- (Defaults to `TCP`) The protocol this rule apply to. Possible values are: `TCP`, `UDP`, `ICMP` or `ANY`.
-- `port`- (Optional) The port this rule apply to. If no port is specified, rule will apply to all port.
+
+### Nested Schema for `timeouts`
-- `port_range`- Need terraform >= 0.13.0 (Optional) The port range (e.g `22-23`) this rule applies to.
- If no `port` nor `port_range` are specified, rule will apply to all port.
- Only one of `port` and `port_range` should be specified.
+Optional:
-- `ip`- (Optional) The ip this rule apply to. If no `ip` nor `ip_range` are specified, rule will apply to all ip. Only one of `ip` and `ip_range` should be specified.
-
-- `ip_range`- (Optional) The ip range (e.g `192.168.1.0/24`) this rule applies to. If no `ip` nor `ip_range` are specified, rule will apply to all ip. Only one of `ip` and `ip_range` should be specified.
-
-## Attributes Reference
-
-In addition to all arguments above, the following attributes are exported:
-
-- `id` - The ID of the security group.
-
-~> **Important:** Instance security group rules' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
-
-
-## Import
-
-Instance security group rules can be imported using the `{zone}/{id}`, e.g.
-
-```bash
-$ terraform import scaleway_instance_security_group_rules.web fr-par-1/11111111-1111-1111-1111-111111111111
-```
+- `default` (String)
diff --git a/docs/resources/instance_server.md b/docs/resources/instance_server.md
index f8edaccd8..1c30bfa4b 100644
--- a/docs/resources/instance_server.md
+++ b/docs/resources/instance_server.md
@@ -1,292 +1,110 @@
---
-subcategory: "Instances"
-page_title: "Scaleway: scaleway_instance_server"
+# generated by https://github.com/hashicorp/terraform-plugin-docs
+page_title: "scaleway_instance_server Resource - terraform-provider-scaleway"
+subcategory: ""
+description: |-
+
---
-# Resource: scaleway_instance_server
+# scaleway_instance_server (Resource)
-Creates and manages Scaleway Compute Instance servers. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/instance/#servers-8bf7d7).
-Please check our [FAQ - Instances](https://www.scaleway.com/en/docs/faq/instances).
-## Example Usage
-### Basic
-```terraform
-resource "scaleway_instance_ip" "public_ip" {}
+
+## Schema
-resource "scaleway_instance_server" "web" {
- type = "DEV1-S"
- image = "ubuntu_jammy"
- ip_id = scaleway_instance_ip.public_ip.id
-}
-```
+### Required
-### With additional volumes and tags
+- `type` (String) The instance type of the server
-```terraform
-resource "scaleway_instance_volume" "data" {
- size_in_gb = 100
- type = "b_ssd"
-}
+### Optional
-resource "scaleway_instance_server" "web" {
- type = "DEV1-S"
- image = "ubuntu_jammy"
+- `additional_volume_ids` (List of String) The additional volumes attached to the server
+- `boot_type` (String) The boot type of the server
+- `bootscript_id` (String) ID of the target bootscript (set boot_type to bootscript)
+- `cloud_init` (String) The cloud init script associated with this server
+- `enable_dynamic_ip` (Boolean) Enable dynamic IP on the server
+- `enable_ipv6` (Boolean) Determines if IPv6 is enabled for the server
+- `image` (String) The UUID or the label of the base image used by the server
+- `ip_id` (String) The ID of the reserved IP for the server
+- `ip_ids` (List of String)
+- `name` (String) The name of the server
+- `placement_group_id` (String) The placement group the server is attached to
+- `private_network` (Block List, Max: 8) List of private network to connect with your instance (see [below for nested schema](#nestedblock--private_network))
+- `project_id` (String) The project_id you want to attach the resource to
+- `replace_on_type_change` (Boolean) Delete and re-create server if type change
+- `root_volume` (Block List, Max: 1) Root volume attached to the server on creation (see [below for nested schema](#nestedblock--root_volume))
+- `routed_ip_enabled` (Boolean) If server supports routed IPs, default to true if public_ips is used
+- `security_group_id` (String) The security group the server is attached to
+- `state` (String) The state of the server should be: started, stopped, standby
+- `tags` (List of String) The tags associated with the server
+- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
+- `user_data` (Map of String) The user data associated with the server
+- `zone` (String) The zone you want to attach the resource to
- tags = [ "hello", "public" ]
+### Read-Only
- root_volume {
- delete_on_termination = false
- }
+- `id` (String) The ID of this resource.
+- `ipv6_address` (String) The default public IPv6 address routed to the server.
+- `ipv6_gateway` (String) The IPv6 gateway address
+- `ipv6_prefix_length` (Number) The IPv6 prefix length routed to the server.
+- `organization_id` (String) The organization_id you want to attach the resource to
+- `placement_group_policy_respected` (Boolean) True when the placement group policy is respected
+- `private_ip` (String) The Scaleway internal IP address of the server
+- `public_ip` (String) The public IPv4 address of the server
+- `public_ips` (Block List) List of public IPs attached to your instance (see [below for nested schema](#nestedblock--public_ips))
- additional_volume_ids = [ scaleway_instance_volume.data.id ]
-}
-```
+
+### Nested Schema for `private_network`
-### With a reserved IP
+Required:
-```terraform
-resource "scaleway_instance_ip" "ip" {}
+- `pn_id` (String) The Private Network ID
-resource "scaleway_instance_server" "web" {
- type = "DEV1-S"
- image = "f974feac-abae-4365-b988-8ec7d1cec10d"
+Optional:
- tags = [ "hello", "public" ]
+- `zone` (String) The zone you want to attach the resource to
- ip_id = scaleway_instance_ip.ip.id
-}
-```
+Read-Only:
-### With security group
+- `mac_address` (String) MAC address of the NIC
+- `status` (String) The private NIC state
-```terraform
-resource "scaleway_instance_security_group" "www" {
- inbound_default_policy = "drop"
- outbound_default_policy = "accept"
- inbound_rule {
- action = "accept"
- port = "22"
- ip = "212.47.225.64"
- }
+
+### Nested Schema for `root_volume`
- inbound_rule {
- action = "accept"
- port = "80"
- }
+Optional:
- inbound_rule {
- action = "accept"
- port = "443"
- }
+- `boot` (Boolean) Set the volume where the boot the server
+- `delete_on_termination` (Boolean) Force deletion of the root volume on instance termination
+- `size_in_gb` (Number) Size of the root volume in gigabytes
+- `volume_id` (String) Volume ID of the root volume
+- `volume_type` (String) Volume type of the root volume
- outbound_rule {
- action = "drop"
- ip_range = "10.20.0.0/24"
- }
-}
+Read-Only:
-resource "scaleway_instance_server" "web" {
- type = "DEV1-S"
- image = "ubuntu_jammy"
+- `name` (String) Name of the root volume
- security_group_id= scaleway_instance_security_group.www.id
-}
-```
-### With user data and cloud-init
+
+### Nested Schema for `timeouts`
-```terraform
-resource "scaleway_instance_server" "web" {
- type = "DEV1-S"
- image = "ubuntu_jammy"
+Optional:
- user_data = {
- foo = "bar"
- cloud-init = file("${path.module}/cloud-init.yml")
- }
-}
-```
+- `create` (String)
+- `default` (String)
+- `delete` (String)
+- `read` (String)
+- `update` (String)
-### With private network
-```terraform
-resource scaleway_vpc_private_network pn01 {
- name = "private_network_instance"
-}
+
+### Nested Schema for `public_ips`
-resource "scaleway_instance_server" "base" {
- image = "ubuntu_jammy"
- type = "DEV1-S"
+Read-Only:
- private_network {
- pn_id = scaleway_vpc_private_network.pn01.id
- }
-}
-```
-
-### Root volume configuration
-
-#### Resized block volume with installed image
-
-```terraform
-resource "scaleway_instance_server" "image" {
- type = "PRO2-XXS"
- image = "ubuntu_jammy"
- root_volume {
- volume_type = "b_ssd"
- size_in_gb = 100
- }
-}
-```
-
-#### From snapshot
-
-```terraform
-data "scaleway_instance_snapshot" "snapshot" {
- name = "my_snapshot"
-}
-
-resource "scaleway_instance_volume" "from_snapshot" {
- from_snapshot_id = data.scaleway_instance_snapshot.snapshot.id
- type = "b_ssd"
-}
-
-resource "scaleway_instance_server" "from_snapshot" {
- type = "PRO2-XXS"
- root_volume {
- volume_id = scaleway_instance_volume.from_snapshot.id
- }
-}
-```
-
-## Argument Reference
-
-The following arguments are supported:
-
-- `type` - (Required) The commercial type of the server.
-You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
-Updates to this field will migrate the server, local storage constraint must be respected. [More info](https://www.scaleway.com/en/docs/compute/instances/api-cli/migrating-instances/).
-Use `replace_on_type_change` to trigger replacement instead of migration.
-
-~> **Important:** If `type` change and migration occurs, the server will be stopped and changed backed to its original state. It will be started again if it was running.
-
-- `image` - (Optional) The UUID or the label of the base image used by the server. You can use [this endpoint](https://api-marketplace.scaleway.com/images?page=1&per_page=100)
-to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
-
-You can check the available labels with our [CLI](https://www.scaleway.com/en/docs/compute/instances/api-cli/creating-managing-instances-with-cliv2/). ```scw marketplace image list```
-
-To retrieve more information by label please use: ```scw marketplace image get label=