You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by dm...@apache.org on 2019/07/26 10:31:06 UTC
[incubator-dlab] branch DLAB-947 updated: [DLAB-947] Bugfix(opened
22 port in outbound SGs)
This is an automated email from the ASF dual-hosted git repository.
dmysakovets pushed a commit to branch DLAB-947
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-947 by this push:
new 846f6e1 [DLAB-947] Bugfix(opened 22 port in outbound SGs)
846f6e1 is described below
commit 846f6e1542e7b82664cdd85b64ffba48878c792c
Author: Dyoma33 <de...@gmail.com>
AuthorDate: Thu Jul 25 17:01:11 2019 +0300
[DLAB-947] Bugfix(opened 22 port in outbound SGs)
---
infrastructure-provisioning/src/general/scripts/aws/project_prepare.py | 2 +-
infrastructure-provisioning/src/general/scripts/azure/edge_prepare.py | 2 +-
infrastructure-provisioning/src/general/scripts/gcp/project_prepare.py | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/infrastructure-provisioning/src/general/scripts/aws/project_prepare.py b/infrastructure-provisioning/src/general/scripts/aws/project_prepare.py
index 1046738..e456cd7 100644
--- a/infrastructure-provisioning/src/general/scripts/aws/project_prepare.py
+++ b/infrastructure-provisioning/src/general/scripts/aws/project_prepare.py
@@ -246,7 +246,7 @@ if __name__ == "__main__":
{
"PrefixListIds": [],
"FromPort": 22,
- "IpRanges": [{"CidrIp": project_conf['private_subnet_cidr']}],
+ "IpRanges": [{"CidrIp": project_conf['all_ip_cidr']}],
"ToPort": 22, "IpProtocol": "tcp", "UserIdGroupPairs": []
},
{
diff --git a/infrastructure-provisioning/src/general/scripts/azure/edge_prepare.py b/infrastructure-provisioning/src/general/scripts/azure/edge_prepare.py
index 0177ec3..c70aedd 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/edge_prepare.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/edge_prepare.py
@@ -180,7 +180,7 @@ if __name__ == "__main__":
"source_port_range": "*",
"destination_port_range": "22",
"source_address_prefix": "*",
- "destination_address_prefix": edge_conf['private_subnet_cidr'],
+ "destination_address_prefix": "*",
"access": "Allow",
"priority": 100,
"direction": "Outbound"
diff --git a/infrastructure-provisioning/src/general/scripts/gcp/project_prepare.py b/infrastructure-provisioning/src/general/scripts/gcp/project_prepare.py
index 6d0fcd3..6cb2a9d 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/project_prepare.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/project_prepare.py
@@ -229,7 +229,7 @@ if __name__ == "__main__":
},
{
'IPProtocol': 'tcp',
- 'ports': ['80', '443']
+ 'ports': ['22', '80', '443']
}
]
egress_rule['allowed'] = rules
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org