Skip to content

Instantly share code, notes, and snippets.

@kenjiskywalker
Created August 7, 2014 09:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kenjiskywalker/fab09c467a1164244a30 to your computer and use it in GitHub Desktop.
Save kenjiskywalker/fab09c467a1164244a30 to your computer and use it in GitHub Desktop.
AWSのLaunchConfigをLaunchConfigurationNameで絞るコマンド ref: http://qiita.com/kenjiskywalker/items/38e2560107e20aee6ac7
aws autoscaling describe-launch-configurations \
| jq '.LaunchConfigurations[] \
| select(.LaunchConfigurationName \
| contains("*LAUNCH_CONFIG_NAME*")) \
| .LaunchConfigurationName ' \
-r \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment