add vars explanation

This commit is contained in:
Kot Chaosu 2016-10-13 23:21:41 +02:00 committed by GitHub
parent 5f4c0de3f8
commit b2eebebad1
1 changed files with 7 additions and 6 deletions

View File

@ -76,10 +76,11 @@ resource "scaleway_security_group_rule" "https_accept" {
``` ```
You'll need to provide your Scaleway organization and access key, You'll need to provide your Scaleway organization access key
so that Terraform can connect. If you don't want to put (available in Scaleway panel in *Credentials > Tokens > access key*)
credentials in your configuration file, you can leave them and token (you can generate it in the same section), so that Terraform can connect.
out: If you don't want to put credentials in your configuration file,
you can leave them out:
``` ```
provider "scaleway" { provider "scaleway" {
@ -91,6 +92,6 @@ provider "scaleway" {
...and instead set these environment variables: ...and instead set these environment variables:
- **SCALEWAY_ORGANIZATION**: Your Scaleway organization ID - **SCALEWAY_ORGANIZATION**: Your Scaleway organization `access key`
- **SCALEWAY_ACCESS_KEY**: Your API Access key - **SCALEWAY_ACCESS_KEY**: Your API access `token`
- **SCALEWAY_REGION**: The Scaleway region - **SCALEWAY_REGION**: The Scaleway region