You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by om...@apache.org on 2019/08/09 15:30:18 UTC
[incubator-dlab] branch DLAB-terraform updated: fixed issue with
creating subnet
This is an automated email from the ASF dual-hosted git repository.
omartushevskyi pushed a commit to branch DLAB-terraform
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-terraform by this push:
new abb8579 fixed issue with creating subnet
abb8579 is described below
commit abb8579a3ad89cc24fe0aa18f5650484a4cf62de
Author: Oleh Martushevskyi <Ol...@epam.com>
AuthorDate: Fri Aug 9 18:30:02 2019 +0300
fixed issue with creating subnet
---
.../src/general/scripts/aws/common_create_subnet.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/infrastructure-provisioning/src/general/scripts/aws/common_create_subnet.py b/infrastructure-provisioning/src/general/scripts/aws/common_create_subnet.py
index 239d5b1..ecc88fa 100644
--- a/infrastructure-provisioning/src/general/scripts/aws/common_create_subnet.py
+++ b/infrastructure-provisioning/src/general/scripts/aws/common_create_subnet.py
@@ -117,7 +117,7 @@ if __name__ == "__main__":
subnet_check = get_subnet_by_tag(tag, False, args.vpc_id)
else:
subnet_id = get_subnet_by_cidr(dlab_subnet_cidr)
- subnet_check = get_subnet_by_tag(tag)
+ subnet_check = get_subnet_by_tag(tag, args.vpc_id)
if not subnet_check:
if subnet_id == '':
print("Creating subnet {0} in vpc {1} with tag {2}".
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org