Browse code

optionally get service account file path from env var (#54407)

Alan Rominger authored on 2019/04/05 02:02:11
Showing 1 changed files
... ...
@@ -57,6 +57,9 @@ DOCUMENTATION = '''
57 57
                 - The path of a Service Account JSON file if serviceaccount is selected as type.
58 58
             required: True
59 59
             type: path
60
+            env:
61
+                - name: GCE_CREDENTIALS_FILE_PATH
62
+                  version_added: "2.8"
60 63
         service_account_email:
61 64
             description:
62 65
                 - An optional service account email address if machineaccount is selected