Fix aws cli alias and provide region specific finders for veracode

This commit is contained in:
Lukas Cech 2025-01-14 16:31:30 +01:00
parent b6516e48ac
commit 42badaa5be

View File

@ -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
''}''; ''}'';
}; };