You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2021/02/16 12:16:40 UTC

[incubator-datalab] branch DATALAB-2091 updated: [DATALAB-2091]: added print of created vpc info

This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a commit to branch DATALAB-2091
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/DATALAB-2091 by this push:
     new 0008c57  [DATALAB-2091]: added print of created vpc info
0008c57 is described below

commit 0008c57c1c9d185829de54387118463d6c895ac6
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Feb 16 14:16:22 2021 +0200

    [DATALAB-2091]: added print of created vpc info
---
 infrastructure-provisioning/src/general/scripts/gcp/ssn_prepare.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/src/general/scripts/gcp/ssn_prepare.py b/infrastructure-provisioning/src/general/scripts/gcp/ssn_prepare.py
index 9898020..ad48e71 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/ssn_prepare.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/ssn_prepare.py
@@ -113,7 +113,9 @@ if __name__ == "__main__":
             sys.exit(1)
 
     try:
-        ssn_conf['vpc_selflink'] = GCPMeta.get_vpc(ssn_conf['vpc_name'])['selfLink']
+        req = GCPMeta.get_vpc(ssn_conf['vpc_name'])
+        print("req")
+        ssn_conf['vpc_selflink'] = req['selfLink']
         if 'gcp_subnet_name' not in os.environ:
             raise KeyError
         else:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org