region is resource-specific; doesn't belong with auth
This commit is contained in:
parent
cc1445d760
commit
b1b693e461
|
@ -11,13 +11,6 @@ import (
|
||||||
func Provider() terraform.ResourceProvider {
|
func Provider() terraform.ResourceProvider {
|
||||||
return &schema.Provider{
|
return &schema.Provider{
|
||||||
Schema: map[string]*schema.Schema{
|
Schema: map[string]*schema.Schema{
|
||||||
"region": &schema.Schema{
|
|
||||||
Type: schema.TypeString,
|
|
||||||
Required: true,
|
|
||||||
DefaultFunc: envDefaultFunc("OS_REGION_NAME"),
|
|
||||||
Description: descriptions["region"],
|
|
||||||
},
|
|
||||||
|
|
||||||
"auth_url": &schema.Schema{
|
"auth_url": &schema.Schema{
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Required: true,
|
Required: true,
|
||||||
|
@ -36,7 +29,6 @@ func Provider() terraform.ResourceProvider {
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
DefaultFunc: envDefaultFunc("OS_TENANT_NAME"),
|
DefaultFunc: envDefaultFunc("OS_TENANT_NAME"),
|
||||||
//Description: descriptions["tenantname"],
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"password": &schema.Schema{
|
"password": &schema.Schema{
|
||||||
|
|
Loading…
Reference in New Issue