From bb599c0d5a08453f246b53a716a6051838b200c0 Mon Sep 17 00:00:00 2001 From: badra001 Date: Thu, 27 Apr 2023 20:46:54 -0400 Subject: [PATCH] fix --- code/ddns-lambda.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ddns-lambda.py b/code/ddns-lambda.py index d14f356..66921d1 100755 --- a/code/ddns-lambda.py +++ b/code/ddns-lambda.py @@ -3299,10 +3299,10 @@ def discover_emr_cluster(tags): This tags a dict of tags and determines if the appropriate EMR tags are set. If set, this is a member of an EMR cluster with the cluster_id as the value: - - emr:elasticmapreduce:job-flow-id = j-xxxxxxx + - aws:elasticmapreduce:job-flow-id = j-xxxxxxx If set, this is a master node of the cluster: - - emr:elasticmapreduce:instance-group-role == MASTER + - aws:elasticmapreduce:instance-group-role == MASTER :param dict tags: dict of tag :return (bool,str): Tuple containing is_master, is_cluster, and cluster_id if it's a cluster. cluster_id will be empty if not a cluster.