opentelekomcloud / terraform-otc

Terraform integration modules for Open Telekom Cloud
22 stars 19 forks source link

provider.openstack: Authentication failed #20

Closed mvasilenko closed 6 years ago

mvasilenko commented 6 years ago

Hello,

I'm trying to use terraform for OpenTelekomCloud infrastructure management, got auth issue, on primary user with id 14975922 OTC-EU-DE-00000000001000026559

provider.openstack: Authentication failed

After that, I've created a new user with username like testuser, changed username and password values in terraform variables accordingly, all works fine.

So, the question, is it intended behaivour, or some misconfiguration?

Thank you

mvasilenko commented 6 years ago

resolved by setting env vars to such values

OS_AUTH_URL=https://iam.eu-de.otc.t-systems.com:443/v3
OS_ENDPOINT_TYPE=publicURL
OS_IDENTITY_API_VERSION=3
OS_IMAGE_API_VERSION=2
OS_PASSWORD=password
OS_PROJECT_DOMAIN_NAME=
OS_PROJECT_NAME=eu-de
OS_TENANT_NAME=eu-de
OS_USERNAME=username
OS_USER_DOMAIN_NAME=OTC-EU-DE-000000000010000XXXXX
OS_VOLUME_API_VERSION=2