Skip to content

Commit

Permalink
Merge branch 'master' into nat_purge
Browse files Browse the repository at this point in the history
  • Loading branch information
remyleone authored Jan 29, 2025
2 parents 9c16a19 + 75cc56b commit 05757e5
Show file tree
Hide file tree
Showing 65 changed files with 95 additions and 93 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ jobs:
env:
SLACK_WEBHOOK_NIGHTLY: ${{ secrets.SLACK_WEBHOOK_NIGHTLY }}
FAILED_PRODUCT: ${{ matrix.products }}
- name: Run acceptance test for cassettes
run: go test -v github.com/scaleway/terraform-provider-scaleway/v2/internal/acctest -run TestAccCassettes_Validator

# sweeper needs to run after nightly completed
# no matter what are the results of the jobs
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/account_project.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ page_title: "Scaleway: scaleway_account_project"

The `scaleway_account_project` data source is used to retrieve information about a Scaleway project.

Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/identity-and-access-management/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.
Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.


## Retrieve a Scaleway Project
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/account_ssh_key.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ page_title: "Scaleway: scaleway_account_ssh_key"

The `scaleway_account_ssh_key` data source is used to retrieve information about a the SSH key of a Scaleway account.

Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/identity-and-access-management/organizations-and-projects/how-to/create-ssh-key/) and [API documentation](https://www.scaleway.com/en/developers/api/iam/#path-ssh-keys) for more information.
Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/how-to/create-ssh-key/) and [API documentation](https://www.scaleway.com/en/developers/api/iam/#path-ssh-keys) for more information.


## Retrieve the SSH key of a Scaleway account
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/bloc_snapshot.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ page_title: "Scaleway: scaleway_block_snapshot"

The `scaleway_block_snapshot` data source is used to retrieve information about a Block Storage volume snapshot.

Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/storage/block/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/block-storage/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.

## Retrieve a volume's snapshot

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/block_volume.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ page_title: "Scaleway: scaleway_block_volume"
# scaleway_block_volume

The `scaleway_block_volume` data source is used to retrieve information about a Block Storage volume.
Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/storage/block/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/block-storage/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.

## Retrieve a Block Storage volume

Expand Down
4 changes: 2 additions & 2 deletions docs/data-sources/container.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The `scaleway_container` data source is used to retrieve information about a Ser

Refer to the Serverless Containers [product documentation](https://www.scaleway.com/en/docs/serverless/containers/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-containers/) for more information.

For more information on the limitations of Serverless Containers, refer to the [dedicated documentation](https://www.scaleway.com/en/docs/compute/containers/reference-content/containers-limitations/).
For more information on the limitations of Serverless Containers, refer to the [dedicated documentation](https://www.scaleway.com/en/docs/serverless-containers/reference-content/containers-limitations/).

## Retrieve a Serverless Container

Expand Down Expand Up @@ -63,7 +63,7 @@ In addition to all arguments above, the following attributes are exported:

- `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.
- `environment_variables` - The [environment](https://www.scaleway.com/en/docs/serverless-containers/concepts/#environment-variables) variables of the container.

- `min_scale` - The minimum number of container instances running continuously.

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/ipam_ip.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ page_title: "Scaleway: scaleway_ipam_ip"

Gets information about IP addresses managed by Scaleway's IP Address Management (IPAM) service. IPAM is used for the DHCP bundled with VPC Private Networks.

For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam).
For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/vpc/concepts/#ipam).

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/ipam_ips.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ page_title: "Scaleway: scaleway_ipam_ips"

Gets information about multiple IP addresses managed by Scaleway's IP Address Management (IPAM) service.

For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/network/vpc/concepts/#ipam).
For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/vpc/concepts/#ipam).

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/lb.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ page_title: "Scaleway: scaleway_lb"

Gets information about a Load Balancer.

For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers).
For more information, see the [main documentation](https://www.scaleway.com/en/docs/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers).

## Example Usage

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/lb_acls.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ page_title: "Scaleway: scaleway_lb_acls"

Gets information about multiple Load Balancer ACLs.

For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/acls/) or [API reference](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls-get-an-acl).
For more information, see the [main documentation](https://www.scaleway.com/en/docs/load-balancer/reference-content/acls/) or [API reference](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls-get-an-acl).

## Example Usage

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/lb_backend.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ page_title: "Scaleway: scaleway_lb_backend"

Get information about Scaleway Load Balancer backends.

For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends).
For more information, see the [main documentation](https://www.scaleway.com/en/docs/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends).

## Example Usage

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/lb_backends.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ page_title: "Scaleway: scaleway_lb_backends"

Gets information about multiple Load Balancer Backends.

For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends).
For more information, see the [main documentation](https://www.scaleway.com/en/docs/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends).

## Example Usage

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/lb_certificate.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Get information about Scaleway Load Balancer certificates.

This data source can prove useful when a module accepts a Load Balancer certificate as an input variable and needs to, for example, determine the security of a certificate for the frontend associated with your domain.

For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/add-certificate/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate).
For more information, see the [main documentation](https://www.scaleway.com/en/docs/load-balancer/how-to/add-certificate/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-certificate).

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/lb_frontend.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ page_title: "Scaleway: scaleway_lb_frontend"

Get information about Scaleway Load Balancer frontends.

For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends).
For more information, see the [main documentation](https://www.scaleway.com/en/docs/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends).

## Example Usage

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/lb_frontends.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ page_title: "Scaleway: scaleway_lb_frontends"

Gets information about multiple Load Balancer frontends.

For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends).
For more information, see the [main documentation](https://www.scaleway.com/en/docs/load-balancer/reference-content/configuring-frontends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends).

## Example Usage

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/lb_ip.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ page_title: "Scaleway: scaleway_lb_ip"

Gets information about a Load Balancer IP address.

For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses).
For more information, see the [main documentation](https://www.scaleway.com/en/docs/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses).


## Example Usage
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/lb_ips.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ page_title: "Scaleway: scaleway_lb_ips"

Gets information about multiple Load Balancer IP addresses.

For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses).
For more information, see the [main documentation](https://www.scaleway.com/en/docs/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses).

## Example Usage

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/lb_route.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ page_title: "Scaleway: scaleway_lb_route"

Get information about Scaleway Load Balancer routes.

For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route).
For more information, see the [main documentation](https://www.scaleway.com/en/docs/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route).

## Example Usage

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/lb_routes.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ page_title: "Scaleway: scaleway_lb_routes"

Gets information about multiple Load Balancer routes.

For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route).
For more information, see the [main documentation](https://www.scaleway.com/en/docs/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route).

## Example Usage

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/lbs.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ page_title: "Scaleway: scaleway_lbs"

Gets information about multiple Load Balancers.

For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers).
For more information, see the [main documentation](https://www.scaleway.com/en/docs/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers).

## Example Usage

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/object_bucket.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ page_title: "Scaleway: scaleway_object_bucket"

The `scaleway_object_bucket` data source is used to retrieve information about an Object Storage bucket.

Refer to the Object Storage [documentation](https://www.scaleway.com/en/docs/storage/object/how-to/create-a-bucket/) for more information.
Refer to the Object Storage [documentation](https://www.scaleway.com/en/docs/object-storage/how-to/create-a-bucket/) for more information.

## Retrieve an Object Storage bucket

Expand Down
4 changes: 2 additions & 2 deletions docs/data-sources/object_bucket_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ page_title: "Scaleway: scaleway_object_bucket_policy"

The `scaleway_object_bucket_policy` data source is used to retrieve information about the bucket policy of an Object Storage bucket.

Refer to the Object Storage [documentation](https://www.scaleway.com/en/docs/storage/object/api-cli/bucket-policy/) for more information.
Refer to the Object Storage [documentation](https://www.scaleway.com/en/docs/object-storage/api-cli/bucket-policy/) for more information.

## Retrieve the bucket policy of a bucket

Expand All @@ -31,7 +31,7 @@ This section lists the arguments that you can provide to the `scaleway_object_bu
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.

For more information on Object Storage and Scaleway Projects, refer to the [dedicated documentation](https://www.scaleway.com/en/docs/identity-and-access-management/iam/api-cli/using-api-key-object-storage/).
For more information on Object Storage and Scaleway Projects, refer to the [dedicated documentation](https://www.scaleway.com/en/docs/iam/api-cli/using-api-key-object-storage/).


## Attributes Reference
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/multicloud_cluster_with_baremetal_servers.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ as a node by the apiserver. This can be achieved manually ([method A](#method-a-
## Prerequisites

* An SSH key, required to connect to your Elastic Metal server.
* If you need help generating an SSH key, visit [this tutorial](https://www.scaleway.com/en/docs/identity-and-access-management/organizations-and-projects/how-to/create-ssh-key/).
* If you need help generating an SSH key, visit [this tutorial](https://www.scaleway.com/en/docs/organizations-and-projects/how-to/create-ssh-key/).
* You can view your SSH keys in the [console](https://console.scaleway.com/project/credentials) and add a new one.

## Setup
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/using-vpc-bastion-ssh.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,4 @@ Then try to connect to it:
ssh root@<vm-name>.myprivatenetwork
```

For further information using our console please check [our dedicated documentation](https://www.scaleway.com/en/docs/network/vpc/how-to/use-ssh-bastion/).
For further information using our console please check [our dedicated documentation](https://www.scaleway.com/en/docs/public-gateways/how-to/use-ssh-bastion/).
2 changes: 1 addition & 1 deletion docs/resources/account_project.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ page_title: "Scaleway: scaleway_account_project"

The `scaleway_account_project` resource allows you to create and manage the Projects of a Scaleway Organization.

Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/identity-and-access-management/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.
Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.

## Example Usage

Expand Down
2 changes: 1 addition & 1 deletion docs/resources/account_ssh_key.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ page_title: "Scaleway: scaleway_account_ssh_key"

The `scaleway_account_ssh_key` resource allows you to create and manage the Projects of a Scaleway Organization.

Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/identity-and-access-management/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.
Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.

!> **Important:** The resource `scaleway_account_ssh_key` has been deprecated and will no longer be supported. Instead, use `scaleway_iam_ssh_key`.

Expand Down
2 changes: 1 addition & 1 deletion docs/resources/block_snapshot.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ page_title: "Scaleway: scaleway_block_snapshot"

The `scaleway_block_snapshot` resource is used to create and manage snapshots of Block Storage volumes.

Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/storage/block/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/block-storage/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.


## Example Usage
Expand Down
6 changes: 3 additions & 3 deletions docs/resources/block_volume.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ page_title: "Scaleway: scaleway_block_volume"

The `scaleway_block_volume` resource is used to create and manage Scaleway Block Storage volumes.

Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/storage/block/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/block-storage/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.


## Example Usage

### Create a Block Storage volume

The following command allows you to create a Block Storage volume of 20 GB with a 5000 [IOPS](https://www.scaleway.com/en/docs/storage/block/concepts/#iops).
The following command allows you to create a Block Storage volume of 20 GB with a 5000 [IOPS](https://www.scaleway.com/en/docs/block-storage/concepts/#iops).

```terraform
resource "scaleway_block_volume" "block_volume" {
Expand Down Expand Up @@ -49,7 +49,7 @@ resource "scaleway_block_volume" "main" {

This section lists the arguments that are supported:

- `iops` - (Required) The maximum [IOPs](https://www.scaleway.com/en/docs/storage/block/concepts/#iops) expected, must match available options.
- `iops` - (Required) The maximum [IOPs](https://www.scaleway.com/en/docs/block-storage/concepts/#iops) expected, must match available options.
- `name` - (Optional) The name of the volume. If not provided, a name will be randomly generated.
- `size_in_gb` - (Optional) The size of the volume in gigabytes. 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.
Expand Down
Loading

0 comments on commit 05757e5

Please sign in to comment.