Skip to content

Commit 0fa15ed

Browse files
authored
Merge branch 'master' into fix-partition
2 parents 7bd0c97 + e00b6fe commit 0fa15ed

File tree

296 files changed

+25566
-14631
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

296 files changed

+25566
-14631
lines changed

.github/workflows/acceptance-tests.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@ jobs:
2828
- flexibleip
2929
- function
3030
- iam
31-
- instance
3231
- inference
32+
- instance
3333
- iot
3434
- ipam
3535
- jobs
3636
- k8s
37+
- keymanager
3738
- lb
3839
- marketplace
3940
- mnq
@@ -186,12 +187,13 @@ jobs:
186187
- flexibleip
187188
- function
188189
- iam
189-
- instance
190190
- inference
191+
- instance
191192
- iot
192193
- ipam
193194
- jobs
194195
- k8s
196+
- keymanager
195197
- lb
196198
- marketplace
197199
- mnq

.github/workflows/build.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
pull_request:
8+
merge_group:
9+
10+
jobs:
11+
build:
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest, macos-latest, windows-latest]
16+
17+
steps:
18+
# Checkout should always be before setup-go to ensure caching is working
19+
- name: Checkout
20+
uses: actions/checkout@v6
21+
with:
22+
fetch-depth: 1
23+
24+
- name: Install Go
25+
uses: actions/setup-go@v6
26+
with:
27+
go-version: stable
28+
29+
- name: Verify go.mod is tidy
30+
run: |
31+
go mod tidy
32+
git diff --exit-code
33+
34+
- name: Build the provider
35+
run: go build ./

.github/workflows/nightly.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
- datawarehouse
2828
- domain
2929
- edgeservices
30+
- file
3031
- flexibleip
3132
- function
3233
- iam
@@ -36,6 +37,7 @@ jobs:
3637
- ipam
3738
- jobs
3839
- k8s
40+
- keymanager
3941
- lb
4042
- marketplace
4143
- mnq
@@ -44,6 +46,7 @@ jobs:
4446
- rdb
4547
- redis
4648
- registry
49+
- s2svpn
4750
- sdb
4851
- secret
4952
- tem
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
subcategory: "Cockpit"
3+
page_title: "Scaleway: scaleway_cockpit_trigger_test_alert_action"
4+
---
5+
6+
# scaleway_cockpit_trigger_test_alert_action (Action)
7+
8+
<!-- action schema generated by tfplugindocs -->
9+
## Schema
10+
11+
### Required
12+
13+
- `project_id` (String) ID of the Project
14+
15+
### Optional
16+
17+
- `region` (String) The region you want to attach the resource to
18+
19+
20+
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
subcategory: "Jobs"
3+
page_title: "Scaleway: scaleway_job_definition_start_action"
4+
---
5+
6+
# scaleway_job_definition_start_action (Action)
7+
8+
<!-- action schema generated by tfplugindocs -->
9+
## Schema
10+
11+
### Required
12+
13+
- `job_definition_id` (String) ID of the job definition to start. Can be a plain UUID or a regional ID.
14+
15+
### Optional
16+
17+
- `command` (String) Contextual startup command for this specific job run.
18+
- `environment_variables` (Map of String) Contextual environment variables for this specific job run.
19+
- `region` (String) Region of the job definition. If not set, the region is derived from the job_definition_id when possible or from the provider configuration.
20+
- `replicas` (Number) Number of jobs to run.
21+
22+
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
subcategory: "Key Manager"
3+
page_title: "Scaleway: scaleway_key_manager_key_rotate_action"
4+
---
5+
6+
# scaleway_key_manager_key_rotate_action (Action)
7+
8+
<!-- action schema generated by tfplugindocs -->
9+
## Schema
10+
11+
### Required
12+
13+
- `key_id` (String) ID of the key to rotate (UUID format)
14+
15+
### Optional
16+
17+
- `region` (String) Region of the key. If not set, the region is derived from the key_id when possible or from the provider configuration.
18+
19+

docs/data-sources/account_project.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ page_title: "Scaleway: scaleway_account_project"
55

66
# scaleway_account_project
77

8-
The `scaleway_account_project` data source is used to retrieve information about a Scaleway project.
8+
The [`scaleway_account_project`](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/data-sources/account_project) data source is used to retrieve information about a Scaleway project.
99

1010
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.
1111

docs/data-sources/account_projects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ page_title: "Scaleway: scaleway_account_projects"
55

66
# scaleway_account_projects
77

8-
The `scaleway_account_projects` data source is used to list all Scaleway projects in an Organization.
8+
The [`scaleway_account_projects`](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/data-sources/account_projects) data source is used to list all Scaleway projects in an Organization.
99

1010
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.
1111

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
subcategory: "Key Manager"
3+
page_title: "Scaleway: scaleway_key_manager_key"
4+
---
5+
6+
# scaleway_key_manager_key
7+
8+
Gets information about a Key Manager Key. For more information, refer to the [Key Manager API documentation](https://www.scaleway.com/en/developers/api/key-manager/#path-keys-get-key-metadata).
9+
10+
## Example Usage
11+
12+
### Create a key and get its information
13+
14+
The following commands allow you to:
15+
16+
- create a key named `my-kms-key`
17+
- retrieve the key's information using the key's ID
18+
19+
```hcl
20+
// Create a key
21+
resource "scaleway_key_manager_key" "symmetric" {
22+
name = "my-kms-key"
23+
region = "fr-par"
24+
project_id = "your-project-id" # optional, will use provider default if omitted
25+
usage = "symmetric_encryption"
26+
algorithm = "aes_256_gcm"
27+
description = "Key for encrypting secrets"
28+
tags = ["env:prod", "kms"]
29+
unprotected = true
30+
31+
rotation_policy {
32+
rotation_period = "720h" # 30 days
33+
}
34+
}
35+
36+
// Get the key information by its ID
37+
data "scaleway_key_manager_key" "byID" {
38+
key_id = "11111111-1111-1111-1111-111111111111"
39+
}
40+
```
41+
42+
## Argument Reference
43+
44+
- `key_id` - ID of the key to target. Can be a plain UUID or a [regional](../guides/regions_and_zones.md#resource-ids) ID.
45+
46+
- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the key was created.
47+
48+
## Attributes Reference
49+
50+
Exported attributes are the ones from `scaleway_key_manager_key` [resource](../resources/key_manager_key.md)

docs/resources/account_project.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ page_title: "Scaleway: scaleway_account_project"
55

66
# Resource: scaleway_account_project
77

8-
The `scaleway_account_project` resource allows you to create and manage the Projects of a Scaleway Organization.
8+
The [`scaleway_account_project`](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/resources/account_project) resource allows you to create and manage the Projects of a Scaleway Organization.
99

1010
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.
1111

0 commit comments

Comments
 (0)