You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting the OS_USER_DOMAIN_NAME environment variable in lieu of OS_DOMAIN_NAME, terraform should not error out, but use the OS_USER_DOMAIN_NAME value.
Actual Behavior
$ terraform plan
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but
will not be persisted to local or remote state storage.
Error refreshing state: 1 error(s) occurred:
* You must provide exactly one of DomainID or DomainName to authenticate by Username
Steps to Reproduce
$ export OS_DOMAIN_NAME=
$ export OS_USER_DOMAIN_NAME="domainname"
$ terraform plan
The text was updated successfully, but these errors were encountered:
Just a note: this isn't specific with Terraform, but the underlying Gophercloud library. This issue can stay open as a placeholder, but the ultimate fix will be in Gophercloud.
Quick update on this: It looks like Gophercloud has everything required for correct v3 authentication and scoping. An upcoming patch will set DomainID and DomainName by checking the following environment variables (in this order):
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
Apr 20, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Terraform Version
Terraform v0.7.3
Affected Resource(s)
OpenStack Provider
Expected Behavior
When setting the OS_USER_DOMAIN_NAME environment variable in lieu of OS_DOMAIN_NAME, terraform should not error out, but use the OS_USER_DOMAIN_NAME value.
Actual Behavior
Steps to Reproduce
The text was updated successfully, but these errors were encountered: