Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: You must provide exactly one of DomainID or DomainName to authenticate by Username #90

Open
Nmishin opened this issue Jun 17, 2022 · 0 comments

Comments

@Nmishin
Copy link

Nmishin commented Jun 17, 2022

Terraform and Cloudflare provider version
Terraform v1.0.4

mcs version "0.6.14"

Issue:

When I try to use env variables for configure openstack and mcs providers, I can't do plan and apply because of issue:

│ Error: You must provide exactly one of DomainID or DomainName to authenticate by Username
│ 
│   with provider["registry.terraform.io/mailrucloudsolutions/mcs"],
│   on versions.tf line 20, in provider "mcs":
│   20: provider "mcs" {}
│ 

How to fix:
unset OS_USER_DOMAIN_ID
and add

provider "openstack" {
  user_domain_id = "users"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant