provider/openstack: gophercloud migration: Removing APIKey Attribute
gophercloud/gophercloud no longer supports the APIKey authentication attribute. Removal of this attribute may impact users who were using the Terraform OpenStack provider in with vendor-modified clouds.
This commit is contained in:
parent
18308dd66c
commit
74f990ff5c
|
@ -7,8 +7,8 @@ import (
|
|||
"io/ioutil"
|
||||
"net/http"
|
||||
|
||||
"github.com/rackspace/gophercloud"
|
||||
"github.com/rackspace/gophercloud/openstack"
|
||||
"github.com/gophercloud/gophercloud"
|
||||
"github.com/gophercloud/gophercloud/openstack"
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
|
@ -45,7 +45,6 @@ func (c *Config) loadAndValidate() error {
|
|||
UserID: c.UserID,
|
||||
Password: c.Password,
|
||||
TokenID: c.Token,
|
||||
APIKey: c.APIKey,
|
||||
IdentityEndpoint: c.IdentityEndpoint,
|
||||
TenantID: c.TenantID,
|
||||
TenantName: c.TenantName,
|
||||
|
|
|
@ -53,12 +53,6 @@ The following arguments are supported:
|
|||
already created by a username/password out of band of Terraform.
|
||||
If omitted, the `OS_AUTH_TOKEN` environment variable is used.
|
||||
|
||||
* `api_key` - (Optional; Required if not using `password`) An API Key
|
||||
is issued by a cloud provider as alternative password. Unless
|
||||
your cloud provider has documentation referencing an API Key,
|
||||
you can safely ignore this argument. If omitted, the `OS_API_KEY`
|
||||
environment variable is used.
|
||||
|
||||
* `domain_id` - (Optional) If omitted, the `OS_DOMAIN_ID` environment
|
||||
variable is used.
|
||||
|
||||
|
|
Loading…
Reference in New Issue