Skip to content

Commit cce0c48

Browse files
authored
Merge branch 'master' into feat/new_management_for_update_instance_rdb
2 parents 6219082 + 0dc9a41 commit cce0c48

File tree

427 files changed

+389169
-286091
lines changed

Some content is hidden

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

427 files changed

+389169
-286091
lines changed

.github/workflows/acceptance-tests.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,12 @@ jobs:
4747
# Checkout should always be before setup-go to ensure caching is working
4848
- name: Checkout
4949
uses: actions/checkout@v4
50+
- name: Install Terraform
51+
uses: hashicorp/setup-terraform@v3
5052
- name: Install Go
5153
uses: actions/setup-go@v5
5254
with:
53-
go-version: 1.22
55+
go-version: 1.23.5
5456
- name: Run Acceptance Tests
5557
run: go test -v ./internal/services/${{ matrix.products }} -timeout=2h
5658
env:
@@ -74,7 +76,9 @@ jobs:
7476
- name: Install Go
7577
uses: actions/setup-go@v5
7678
with:
77-
go-version: 1.22
79+
go-version: 1.23.5
80+
- name: Install Terraform
81+
uses: hashicorp/setup-terraform@v3
7882
- name: Run scwconfig tests
7983
run: go test -v ./internal/services/scwconfig -timeout=2m
8084
env:

.github/workflows/coverage.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ on:
1212
- docs/**
1313

1414
env:
15-
GO_VERSION: "1.22"
15+
GO_VERSION: "1.23.5"
1616
GO111MODULE: on
1717

1818
jobs:
1919
markdown-link-check:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: actions/checkout@v4
23-
- uses: gaurav-nelson/[email protected].15
23+
- uses: gaurav-nelson/[email protected].16
2424
with:
2525
use-quiet-mode: 'yes'
2626
use-verbose-mode: 'yes'

.github/workflows/nightly.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Install Go
5252
uses: actions/setup-go@v5
5353
with:
54-
go-version: 1.22
54+
go-version: 1.23.5
5555
- name: Run Acceptance Tests
5656
run: go test -v ./internal/services/${{ matrix.products }} -timeout=4h
5757
env:
@@ -86,6 +86,9 @@ jobs:
8686
env:
8787
SLACK_WEBHOOK_NIGHTLY: ${{ secrets.SLACK_WEBHOOK_NIGHTLY }}
8888
FAILED_PRODUCT: ${{ matrix.products }}
89+
- name: Run acceptance test for cassettes
90+
if: success() || failure() # If the job is not cancelled, run it regardless of the result of the previous step
91+
run: go test -v github.com/scaleway/terraform-provider-scaleway/v2/internal/acctest -run TestAccCassettes_Validator
8992

9093
# sweeper needs to run after nightly completed
9194
# no matter what are the results of the jobs
@@ -100,7 +103,9 @@ jobs:
100103
- name: Install Go
101104
uses: actions/setup-go@v5
102105
with:
103-
go-version: 1.22
106+
go-version: 1.23.5
107+
- name: Install Terraform
108+
uses: hashicorp/setup-terraform@v3
104109
- name: Run sweepers
105110
run: make sweep
106111
env:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Set up Go
2929
uses: actions/setup-go@v5
3030
with:
31-
go-version: 1.22
31+
go-version: 1.23.5
3232

3333
- name: Import GPG key
3434
id: import_gpg

.github/workflows/tfproviderlint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: actions/setup-go@v5
1515
with:
16-
go-version: 1.22
16+
go-version: 1.23.5
1717
- name: Install tfproviderlint
1818
run: go install github.com/bflad/tfproviderlint/cmd/tfproviderlint
1919
- name: Run tfproviderlint
@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@v4
2626
- uses: actions/setup-go@v5
2727
with:
28-
go-version: 1.22
28+
go-version: 1.23.5
2929
- uses: hashicorp/setup-terraform@v3
3030
- run: go install github.com/bflad/tfproviderdocs@latest
3131
- run: make tfproviderdocs

.github/workflows/unit-tests.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@ on:
66

77
jobs:
88
tests:
9-
strategy:
10-
matrix:
11-
go-version: [1.22.x]
12-
platform: [ubuntu-latest]
13-
runs-on: ${{ matrix.platform }}
9+
runs-on: ubuntu-latest
1410
steps:
1511
# Checkout should always be before setup-go to ensure caching is working
1612
- name: Checkout
@@ -20,7 +16,9 @@ jobs:
2016
- name: Install Go
2117
uses: actions/setup-go@v5
2218
with:
23-
go-version: ${{ matrix.go-version }}
19+
go-version: 1.23.5
20+
- name: Install Terraform
21+
uses: hashicorp/setup-terraform@v3
2422
- name: Build binaries
2523
run: make build
2624
- name: Run unit tests

docs/data-sources/account_project.md

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

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

10-
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.
10+
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

1212

1313
## Retrieve a Scaleway Project

docs/data-sources/account_ssh_key.md

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

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

10-
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.
10+
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.
1111

1212

1313
## Retrieve the SSH key of a Scaleway account

docs/data-sources/bloc_snapshot.md

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

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

10-
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.
10+
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.
1111

1212
## Retrieve a volume's snapshot
1313

0 commit comments

Comments
 (0)