diff --git a/contrib/inventory/gce.py b/contrib/inventory/gce.py index a1e72dac7f..9a0cef0b59 100755 --- a/contrib/inventory/gce.py +++ b/contrib/inventory/gce.py @@ -309,6 +309,8 @@ class GceInventory(object): # other configuration; process those into our args and kwargs. args[0] = os.environ.get('GCE_EMAIL', args[0]) args[1] = os.environ.get('GCE_PEM_FILE_PATH', args[1]) + args[1] = os.environ.get('GCE_CREDENTIALS_FILE_PATH', args[1]) + kwargs['project'] = os.environ.get('GCE_PROJECT', kwargs['project']) kwargs['datacenter'] = os.environ.get('GCE_ZONE', kwargs['datacenter'])