change default region
Change-Id: Iaac041a9c24b09235c05fe452322f2bb475b290f
This commit is contained in:
parent
b0882c6c6c
commit
452fb9de5c
|
@ -20,7 +20,7 @@ from oslo_config import types
|
||||||
def _get_client(client_name, url, region, access, secret, ca_bundle):
|
def _get_client(client_name, url, region, access, secret, ca_bundle):
|
||||||
connection_data = {
|
connection_data = {
|
||||||
'config_file': (None, 'AWS_CONFIG_FILE', None, None),
|
'config_file': (None, 'AWS_CONFIG_FILE', None, None),
|
||||||
'region': ('region', 'BOTO_DEFAULT_REGION', region, None),
|
'region': ('region', 'AWS_DEFAULT_REGION', region, None),
|
||||||
}
|
}
|
||||||
session = botocore.session.get_session(connection_data)
|
session = botocore.session.get_session(connection_data)
|
||||||
kwargs = {
|
kwargs = {
|
||||||
|
|
Loading…
Reference in New Issue