Use literal region for AWS secrets janitor #1655
Reference in New Issue
Block a user
Delete Branch "fix/aws-secrets-janitor-literal-region"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
us-east-2for the AWS Secrets Manager janitor region${{ secrets.* || 'fallback' }}for this scheduled jobWhy
The first scheduled run after restoring the janitor failed while constructing the Secrets Manager endpoint. The required credentials were present, but the secret-backed region expression produced an invalid endpoint path in the runner. The janitor only targets the staging/canary account in
us-east-2, so a literal is simpler and safer.Tests
python3 .gitea/scripts/lint-workflow-yaml.py --workflow-dir .gitea/workflowspython3 -m pytest tests/test_lint_workflow_yaml.py -qgit diff --check