Make sure to also include the region when using keyring_auth
This commit is contained in:
parent
021b926235
commit
aa709012ba
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ def setup_rax_module(module, rax_module):
|
||||||
try:
|
try:
|
||||||
if api_key and username:
|
if api_key and username:
|
||||||
if api_key == 'USE_KEYRING':
|
if api_key == 'USE_KEYRING':
|
||||||
rax_module.keyring_auth(username)
|
rax_module.keyring_auth(username, region=region)
|
||||||
else:
|
else:
|
||||||
rax_module.set_credentials(username, api_key=api_key,
|
rax_module.set_credentials(username, api_key=api_key,
|
||||||
region=region)
|
region=region)
|
||||||
|
|
Loading…
Reference in a new issue