Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Apr 28, 2023
1 parent 586b54c commit bb599c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/ddns-lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bb599c0

Please sign in to comment.