From c0fced0d893d52bea7d039929b11b7d6344ef4c4 Mon Sep 17 00:00:00 2001 From: Simon Wydooghe Date: Wed, 22 Nov 2017 16:17:29 +0100 Subject: [PATCH] Add 'datacenter' keyword arg to secrets.py (#24598) Fix adds documentation about 'datacenter' in environment variable which is required for gce.py dynamic inventory. --- docs/docsite/rst/guide_gce.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docsite/rst/guide_gce.rst b/docs/docsite/rst/guide_gce.rst index 83d860c0831..3654c4e6a14 100644 --- a/docs/docsite/rst/guide_gce.rst +++ b/docs/docsite/rst/guide_gce.rst @@ -83,7 +83,7 @@ Create a file ``secrets.py`` looking like following, and put it in some folder w .. code-block:: python GCE_PARAMS = ('i...@project.googleusercontent.com', '/path/to/project.json') - GCE_KEYWORD_PARAMS = {'project': 'project_id'} + GCE_KEYWORD_PARAMS = {'project': 'project_id', 'datacenter': 'gce_zone'} Ensure to enter the email address from the created services account and not the one from your main account.