We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9d1637 commit 83b4730Copy full SHA for 83b4730
src/aws/up.sh
@@ -11,9 +11,9 @@ instanceName=luftballon
11
checkSSH=~/.ssh/$publickey
12
13
checkKeyName() {
14
- key_pairs=($(aws ec2 describe-key-pairs --query "KeyPairs[*].KeyName" --output text))
+ keyPairs=($(aws ec2 describe-key-pairs --query "KeyPairs[*].KeyName" --output text))
15
16
- for key in "${key_pairs[@]}"
+ for key in "${keyPairs[@]}"
17
do
18
if [ "$key" == "$keyname" ]; then
19
echo "Error: Key Pair '$key' matches the specified keyName '$keyName'. Exiting..."
0 commit comments