Last active
March 29, 2019 13:17
-
-
Save alicek106/a1c1b9efe7d0f2ea8c1b88b272bf5d00 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@aws-cli:/# export NODE_INSTANCE_ROLE=$(aws cloudformation describe-stacks --region ap-northeast-2 \ | |
--stack-name eks-worker-group-stack | \ | |
jq -r '.Stacks[].Outputs[] | select(.OutputKey == "NodeInstanceRole")' | \ | |
jq -r '.OutputValue') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment