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/04/20 09:14:41 UTC
[incubator-datalab] branch DATALAB-1724 updated: [DATALAB-1724]:
added Name tag for route table
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DATALAB-1724
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
The following commit(s) were added to refs/heads/DATALAB-1724 by this push:
new b582832 [DATALAB-1724]: added Name tag for route table
b582832 is described below
commit b582832181d5d8cfc2d837dc0dfe11209299872c
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Apr 20 12:14:25 2021 +0300
[DATALAB-1724]: added Name tag for route table
---
.../src/general/scripts/aws/ssn_create_endpoint.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/infrastructure-provisioning/src/general/scripts/aws/ssn_create_endpoint.py b/infrastructure-provisioning/src/general/scripts/aws/ssn_create_endpoint.py
index f54b89f..8daae17 100644
--- a/infrastructure-provisioning/src/general/scripts/aws/ssn_create_endpoint.py
+++ b/infrastructure-provisioning/src/general/scripts/aws/ssn_create_endpoint.py
@@ -61,6 +61,7 @@ if __name__ == "__main__":
break
print('Created Route-Table with ID: {}'.format(route_table))
create_tag(route_table, json.dumps(tag))
+ create_tag(route_table, json.dumps({"Key": "Name", "Value": "{}-rt".format(args.infra_tag_value)}))
endpoints = get_vpc_endpoints(args.vpc_id)
if not endpoints:
print('Creating EP')
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org