File tree Expand file tree Collapse file tree 1 file changed +38
-22
lines changed
Expand file tree Collapse file tree 1 file changed +38
-22
lines changed Original file line number Diff line number Diff line change @@ -29,26 +29,42 @@ jobs:
2929 strategy :
3030 matrix :
3131 region : [
32- us-east-1,
33- us-west-2,
34- ap-east-1,
35- ap-south-1,
36- ap-southeast-1,
37- ap-northeast-1,
38- eu-central-1,
39- eu-west-3,
40- sa-east-1
41- ]
42- location_key : [
43- AWS-US-EAST-1,
44- AWS-US-WEST-2,
45- AWS-AP-EAST-1,
46- AWS-AP-SOUTH-1,
47- AWS-AP-SOUTHEAST-1,
48- AWS-AP-NORTHEAST-1,
49- AWS-EU-CENTRAL-1,
50- AWS-EU-WEST-3,
51- AWS-SA-EAST-1
32+ {
33+ name : us-east-1,
34+ key : AWS-US-EAST-1
35+ },
36+ {
37+ name : us-west-2,
38+ key : AWS-US-WEST-2
39+ },
40+ {
41+ name : ap-east-1,
42+ key : AWS-AP-EAST-1
43+ },
44+ {
45+ name : ap-south-1,
46+ key : AWS-AP-SOUTH-1
47+ },
48+ {
49+ name : ap-southeast-1,
50+ key : AWS-AP-SOUTHEAST-1
51+ },
52+ {
53+ name : ap-northeast-1,
54+ key : AWS-AP-NORTHEAST-1
55+ },
56+ {
57+ name : eu-central-1,
58+ key : AWS-EU-CENTRAL-1
59+ },
60+ {
61+ name : eu-west-3,
62+ key : AWS-EU-WEST-3
63+ },
64+ {
65+ name : sa-east-1,
66+ key : AWS-SA-EAST-1
67+ }
5268 ]
5369 steps :
5470 - uses : actions/checkout@v2
@@ -58,12 +74,12 @@ jobs:
5874 worker_env : >
5975 BASE_URL=https://rapidapi.com/testing,
6076 LOCATION_CONTEXT=Default,
61- LOCATION_KEY=${{ matrix.location_key }},
77+ LOCATION_KEY=${{ matrix.region.key }},
6278 LOCATION_SECRET=${{ secrets.LOCATION_SECRET_PROD_DEFAULT }},
6379 WORKER_LOGGING=off
6480 aws_access_key_id : ${{ secrets.AWS_PROD_ACCESS_KEY_ID }}
6581 aws_secret_access_key : ${{ secrets.AWS_PROD_SECRET_ACCESS_KEY }}
66- aws_region : ${{ matrix.region }}
82+ aws_region : ${{ matrix.region.name }}
6783 function_name : rapidapi-prod-testing-worker
6884
6985 npm-publish-package :
You can’t perform that action at this time.
0 commit comments