provider/openstack: gophercloud migration: Continued removal of APIKey
This commit is contained in:
parent
d4722aedc1
commit
e36c3e5946
|
@ -16,7 +16,6 @@ type Config struct {
|
|||
UserID string
|
||||
Password string
|
||||
Token string
|
||||
APIKey string
|
||||
IdentityEndpoint string
|
||||
TenantID string
|
||||
TenantName string
|
||||
|
|
|
@ -48,11 +48,6 @@ func Provider() terraform.ResourceProvider {
|
|||
Optional: true,
|
||||
DefaultFunc: schema.EnvDefaultFunc("OS_AUTH_TOKEN", ""),
|
||||
},
|
||||
"api_key": &schema.Schema{
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
DefaultFunc: schema.EnvDefaultFunc("OS_API_KEY", ""),
|
||||
},
|
||||
"domain_id": &schema.Schema{
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
|
@ -133,7 +128,6 @@ func configureProvider(d *schema.ResourceData) (interface{}, error) {
|
|||
UserID: d.Get("user_id").(string),
|
||||
Password: d.Get("password").(string),
|
||||
Token: d.Get("token").(string),
|
||||
APIKey: d.Get("api_key").(string),
|
||||
TenantID: d.Get("tenant_id").(string),
|
||||
TenantName: d.Get("tenant_name").(string),
|
||||
DomainID: d.Get("domain_id").(string),
|
||||
|
|
Loading…
Reference in New Issue