diff --git a/scaleway/provider.go b/scaleway/provider.go index 13b00186e..5d5c6f975 100644 --- a/scaleway/provider.go +++ b/scaleway/provider.go @@ -51,7 +51,7 @@ func Provider() terraform.ResourceProvider { DefaultFunc: schema.SchemaDefaultFunc(func() (interface{}, error) { for _, k := range []string{"SCALEWAY_ORGANIZATION"} { if os.Getenv(k) != "" { - return k, nil + return os.Getenv(k), nil } } if path, err := homedir.Expand("~/.scwrc"); err == nil {