Skip to content

Instantly share code, notes, and snippets.

@marcelog
Created May 11, 2016 15:03
Show Gist options
  • Select an option

  • Save marcelog/b2e84a5446bf14de2bdc2a53cfd06a11 to your computer and use it in GitHub Desktop.

Select an option

Save marcelog/b2e84a5446bf14de2bdc2a53cfd06a11 to your computer and use it in GitHub Desktop.
#!/bin/bash
aws ec2 describe-tags --filters "Name=resource-id,Values=${instance_id}" | grep -2 Environment | grep Value | tr -d ' ' | cut -f2 -d: | tr -d '"' | tr -d ',')
@asafarevich
Copy link
Copy Markdown

asafarevich commented Aug 25, 2019

Why is there a ) at the end?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment