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.