Skip to content

Commit 3d8682b

Browse files
authored
doc: use project id instead or organization id in migration guide (#767)
1 parent da0feae commit 3d8682b

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

docs/guides/migration_guide_v2.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -59,24 +59,25 @@ In order to unify configuration management across all scaleway developer tools,
5959
Below you find an overview of changes in the provider config:
6060

6161
| Old provider attribute | New provider attribute |
62-
| --------------------- | --------------------- |
63-
| `access_key` | `access_key` |
64-
| `token` | `secret_key` |
65-
| `organization` | `organization_id` |
62+
| --------------------- | ----------------------- |
63+
| `access_key` | `access_key` |
64+
| `token` | `secret_key` |
65+
| `organization` | `project_id` |
6666

6767
~> **Important:** `access_key` should now only be used for your access key (e.g. `SCWZFD9BPQ4TZ14SM1YS`).
6868
Your secret key (previously known as _token_) must be set in `secret_key` (`xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`).
69+
You can use the value of your `organization_id` as your default `project_id` if you have not yet created a non default project.
6970

7071
Below you find an overview of the changes in environment variables:
7172

7273
| Old env variable | New env variable |
7374
| ----------------------- | ------------------------------------------- |
7475
| `SCALEWAY_ACCESS_KEY` | `SCW_ACCESS_KEY` |
7576
| `SCALEWAY_TOKEN` | `SCW_SECRET_KEY` |
76-
| `SCALEWAY_ORGANIZATION` | `SCW_DEFAULT_ORGANIZATION_ID` |
77+
| `SCALEWAY_ORGANIZATION` | `SCW_DEFAULT_PROJECT_ID` |
7778
| `SCALEWAY_REGION` | `SCW_DEFAULT_REGION` and `SCW_DEFAULT_ZONE` |
7879
| `SCW_TLSVERIFY` | `SCW_INSECURE` |
79-
| `SCW_ORGANIZATION` | `SCW_DEFAULT_ORGANIZATION_ID` |
80+
| `SCW_ORGANIZATION` | `SCW_DEFAULT_PROJECT_ID` |
8081
| `SCW_REGION` | `SCW_DEFAULT_REGION` |
8182
| `SCW_TOKEN` | `SCW_SECRET_KEY` |
8283

@@ -266,7 +267,7 @@ For more information check the [new volume `scaleway_instance_volume` resource](
266267

267268
`scaleway_ssh_key` was renamed to `scaleway_account_ssk_key`
268269
The `key` attribute has been renamed to `public_key`.
269-
A `name` required attribute and an `organization_id` optional attribute have been added.
270+
A `name` required attribute and a `project_id` optional attribute have been added.
270271

271272
##### Removed: `scaleway_user_data`
272273

0 commit comments

Comments
 (0)