Is there a way to capture the master public DNS
of an AWS EMR cluster after it's been created via CLI? I'm using these scripts to accomplish this.
A second question, that may be outside SO guidelines, what are best practices for capturing variables from the command line and then editing a bash script? I've considered environmental variables but my understanding is that custom variables don't persist beyond the shell session.
Thanks!