diff --git a/builtin/providers/openstack/config.go b/builtin/providers/openstack/config.go index 0c6041e2ae..0df6b75983 100644 --- a/builtin/providers/openstack/config.go +++ b/builtin/providers/openstack/config.go @@ -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, diff --git a/website/source/docs/providers/openstack/index.html.markdown b/website/source/docs/providers/openstack/index.html.markdown index 867b02b1bb..22db5a5f18 100644 --- a/website/source/docs/providers/openstack/index.html.markdown +++ b/website/source/docs/providers/openstack/index.html.markdown @@ -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.