Skip to content

Commit 060bdd0

Browse files
committed
Fix
1 parent 1ca5f0f commit 060bdd0

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

docs/guides/migration_guide_v2.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ description: |-
44
Migrating your Scaleway provider from v1 to v2.
55
---
66

7-
# Migrating from v1 to v2
8-
9-
-> **Note:** The version 2 is not released yet but versions `v1.11+` allow you to do a smooth migration to the `v2`.
10-
In other words, there will be no breaking change between `v1.11+` and `v2`.
11-
The `v2` roadmap is available [here](https://github.com/scaleway/terraform-provider-scaleway/issues/125).
7+
# Migrating from Scaleway provider v1 to v2
128

139
This page guides you through the process of migrating your version 1 resources to their version 2 equivalent.
1410
To prepare the launch of all new Scaleway products, we completely changed the naming of all resources (as well as their attributes) in version 2 of the Terraform provider.
@@ -17,9 +13,10 @@ To prepare the launch of all new Scaleway products, we completely changed the na
1713

1814
### Version configuration
1915

20-
-> **Note:** Before upgrading to `v2+`, it is recommended to upgrade to the most recent `1.X` version of the provider (`v1.11.0`) and ensure that your environment successfully runs [`terraform plan`](https://www.terraform.io/docs/commands/plan.html) without unexpected change or deprecation notice.
16+
-> **Note:** Before upgrading to `v2+`, it is recommended to upgrade to the most recent `1.X` version of the provider (`v1.17.2`) and ensure that your environment successfully runs [`terraform plan`](https://www.terraform.io/docs/commands/plan.html) without unexpected change or deprecation notice.
2117

22-
It is recommended to use [version constraints when configuring Terraform providers](https://www.terraform.io/docs/configuration/providers.html#version-provider-versions). If you are following these recommendation, update the version constraints in your Terraform configuration and run [`terraform init`](https://www.terraform.io/docs/commands/init.html) to download the new version.
18+
It is recommended to use [version constraints when configuring Terraform providers](https://www.terraform.io/docs/configuration/providers.html#version-provider-versions).
19+
If you are following these recommendations, update the version constraints in your Terraform configuration and run [`terraform init`](https://www.terraform.io/docs/commands/init.html) to download the new version.
2320

2421
Update to latest `1.X` version:
2522

@@ -73,7 +70,7 @@ Below you find an overview of the changes in environment variables:
7370
This should be your access key (e.g. `SCWZFD9BPQ4TZ14SM1YS`).
7471
Your secret key (previously known as _token_) must be set in `SCW_SECRET_KEY` (`xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`).
7572

76-
Terraform can also read standard Scaleway configuration files.
73+
Terraform can also read standard [Scaleway configuration files](https://github.com/scaleway/scaleway-sdk-go/blob/master/scw/README.md).
7774
By doing so, you can use the same configuration between different tools such as the [CLI](https://github.com/scaleway/scaleway-cli) or [Packer](https://www.packer.io/docs/builders/scaleway).
7875

7976
## Resources

0 commit comments

Comments
 (0)