Fix aws cli alias and provide region specific finders for veracode
This commit is contained in:
@@ -268,7 +268,21 @@ in
|
|||||||
veracode-find = ''${pkgs.writeShellScript "veracode-find" ''
|
veracode-find = ''${pkgs.writeShellScript "veracode-find" ''
|
||||||
for profile in $(aws configure list-profiles | grep -E '^(us|eu)-'); do
|
for profile in $(aws configure list-profiles | grep -E '^(us|eu)-'); do
|
||||||
echo "=== $profile ==="
|
echo "=== $profile ==="
|
||||||
aws --profile $profile $@;
|
aws --profile $profile "$@";
|
||||||
|
done
|
||||||
|
''}'';
|
||||||
|
|
||||||
|
veracode-find-eu = ''${pkgs.writeShellScript "veracode-find" ''
|
||||||
|
for profile in $(aws configure list-profiles | grep -E '^(eu)-'); do
|
||||||
|
echo "=== $profile ==="
|
||||||
|
aws --profile $profile "$@";
|
||||||
|
done
|
||||||
|
''}'';
|
||||||
|
|
||||||
|
veracode-find-us = ''${pkgs.writeShellScript "veracode-find" ''
|
||||||
|
for profile in $(aws configure list-profiles | grep -E '^(us)-'); do
|
||||||
|
echo "=== $profile ==="
|
||||||
|
aws --profile $profile "$@";
|
||||||
done
|
done
|
||||||
''}'';
|
''}'';
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user