Allow the use of paths like ~/.project.json (#16064)

* Allow the use of paths like ~/.project.json

This makes it easy to manage credentials files outside of the repo
(and/or user specific credentials).

* Fix format string to log credentials_file.
This commit is contained in:
jayme-github 2017-01-16 15:10:16 +01:00 committed by Brian Coca
parent 2c197343f3
commit f813a8474b
2 changed files with 4 additions and 4 deletions

View file

@ -637,8 +637,8 @@ def main():
zone = dict(default='us-central1-a'),
service_account_email = dict(),
service_account_permissions = dict(type='list'),
pem_file = dict(),
credentials_file = dict(),
pem_file = dict(type='path'),
credentials_file = dict(type='path'),
project_id = dict(),
ip_forward = dict(type='bool', default=False),
external_ip=dict(default='ephemeral'),