From 5f4c0de3f8619a9df55f4cb71f2f3ba879dbeb78 Mon Sep 17 00:00:00 2001 From: Kot Chaosu Date: Tue, 11 Oct 2016 11:25:54 +0200 Subject: [PATCH 1/2] add missing information It's important to note this env var needs to be organization ID, at least for individual users (organization name doesn't work). --- website/source/docs/providers/scaleway/index.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/docs/providers/scaleway/index.html.markdown b/website/source/docs/providers/scaleway/index.html.markdown index 9167bde08..5a6e923b8 100644 --- a/website/source/docs/providers/scaleway/index.html.markdown +++ b/website/source/docs/providers/scaleway/index.html.markdown @@ -91,6 +91,6 @@ provider "scaleway" { ...and instead set these environment variables: -- **SCALEWAY_ORGANIZATION**: Your Scaleway organization +- **SCALEWAY_ORGANIZATION**: Your Scaleway organization ID - **SCALEWAY_ACCESS_KEY**: Your API Access key - **SCALEWAY_REGION**: The Scaleway region From b2eebebad142a07383b0de77a26242311251f831 Mon Sep 17 00:00:00 2001 From: Kot Chaosu Date: Thu, 13 Oct 2016 23:21:41 +0200 Subject: [PATCH 2/2] add vars explanation --- .../docs/providers/scaleway/index.html.markdown | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/website/source/docs/providers/scaleway/index.html.markdown b/website/source/docs/providers/scaleway/index.html.markdown index 5a6e923b8..952fe8237 100644 --- a/website/source/docs/providers/scaleway/index.html.markdown +++ b/website/source/docs/providers/scaleway/index.html.markdown @@ -76,10 +76,11 @@ resource "scaleway_security_group_rule" "https_accept" { ``` -You'll need to provide your Scaleway organization and access key, -so that Terraform can connect. If you don't want to put -credentials in your configuration file, you can leave them -out: +You'll need to provide your Scaleway organization access key +(available in Scaleway panel in *Credentials > Tokens > access key*) +and token (you can generate it in the same section), so that Terraform can connect. +If you don't want to put credentials in your configuration file, +you can leave them out: ``` provider "scaleway" { @@ -91,6 +92,6 @@ provider "scaleway" { ...and instead set these environment variables: -- **SCALEWAY_ORGANIZATION**: Your Scaleway organization ID -- **SCALEWAY_ACCESS_KEY**: Your API Access key +- **SCALEWAY_ORGANIZATION**: Your Scaleway organization `access key` +- **SCALEWAY_ACCESS_KEY**: Your API access `token` - **SCALEWAY_REGION**: The Scaleway region