Skip to content

Commit d36433a

Browse files
author
Kyle Keating
committed
Update appleboy
- Add an opt-out flag for AWS, currently, its unclear if applyboy action supports states, but for notw the opt-out flag allows the lambdas to be updated. https://aws.amazon.com/blogs/compute/coming-soon-expansion-of-aws-lambda-states-to-all-functions/
1 parent 46b1845 commit d36433a

File tree

2 files changed

+22
-11
lines changed

2 files changed

+22
-11
lines changed

.github/workflows/master-change.yml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -117,83 +117,92 @@ jobs:
117117
with:
118118
name: zipped_worker
119119
- name: Deploy worker to production us-east-1
120-
uses: appleboy/lambda-action@v0.1.3
120+
uses: appleboy/lambda-action@v0.1.5
121121
with:
122122
aws_access_key_id: ${{ secrets.AWS_PROD_ACCESS_KEY_ID }}
123123
aws_secret_access_key: ${{ secrets.AWS_PROD_SECRET_ACCESS_KEY }}
124124
aws_region: us-east-1
125125
function_name: rapidapi-prod-testing-worker
126126
zip_file: worker.zip
127127
handler: dist/src/main.execute
128+
description: "aws:states:opt-out"
128129
- name: Deploy worker to production us-west-2
129-
uses: appleboy/lambda-action@v0.1.3
130+
uses: appleboy/lambda-action@v0.1.5
130131
with:
131132
aws_access_key_id: ${{ secrets.AWS_PROD_ACCESS_KEY_ID }}
132133
aws_secret_access_key: ${{ secrets.AWS_PROD_SECRET_ACCESS_KEY }}
133134
aws_region: us-west-2
134135
function_name: rapidapi-prod-testing-worker
135136
zip_file: worker.zip
136137
handler: dist/src/main.execute
138+
description: "aws:states:opt-out"
137139
- name: Deploy worker to production ap-east-1
138-
uses: appleboy/lambda-action@v0.1.3
140+
uses: appleboy/lambda-action@v0.1.5
139141
with:
140142
aws_access_key_id: ${{ secrets.AWS_PROD_ACCESS_KEY_ID }}
141143
aws_secret_access_key: ${{ secrets.AWS_PROD_SECRET_ACCESS_KEY }}
142144
aws_region: ap-east-1
143145
function_name: rapidapi-prod-testing-worker
144146
zip_file: worker.zip
145147
handler: dist/src/main.execute
148+
description: "aws:states:opt-out"
146149
- name: Deploy worker to production ap-south-1
147-
uses: appleboy/lambda-action@v0.1.3
150+
uses: appleboy/lambda-action@v0.1.5
148151
with:
149152
aws_access_key_id: ${{ secrets.AWS_PROD_ACCESS_KEY_ID }}
150153
aws_secret_access_key: ${{ secrets.AWS_PROD_SECRET_ACCESS_KEY }}
151154
aws_region: ap-south-1
152155
function_name: rapidapi-prod-testing-worker
153156
zip_file: worker.zip
154157
handler: dist/src/main.execute
158+
description: "aws:states:opt-out"
155159
- name: Deploy worker to production ap-southeast-1
156-
uses: appleboy/lambda-action@v0.1.3
160+
uses: appleboy/lambda-action@v0.1.5
157161
with:
158162
aws_access_key_id: ${{ secrets.AWS_PROD_ACCESS_KEY_ID }}
159163
aws_secret_access_key: ${{ secrets.AWS_PROD_SECRET_ACCESS_KEY }}
160164
aws_region: ap-southeast-1
161165
function_name: rapidapi-prod-testing-worker
162166
zip_file: worker.zip
163167
handler: dist/src/main.execute
168+
description: "aws:states:opt-out"
164169
- name: Deploy worker to production ap-northeast-1
165-
uses: appleboy/lambda-action@v0.1.3
170+
uses: appleboy/lambda-action@v0.1.5
166171
with:
167172
aws_access_key_id: ${{ secrets.AWS_PROD_ACCESS_KEY_ID }}
168173
aws_secret_access_key: ${{ secrets.AWS_PROD_SECRET_ACCESS_KEY }}
169174
aws_region: ap-northeast-1
170175
function_name: rapidapi-prod-testing-worker
171176
zip_file: worker.zip
172177
handler: dist/src/main.execute
178+
description: "aws:states:opt-out"
173179
- name: Deploy worker to production eu-central-1
174-
uses: appleboy/lambda-action@v0.1.3
180+
uses: appleboy/lambda-action@v0.1.5
175181
with:
176182
aws_access_key_id: ${{ secrets.AWS_PROD_ACCESS_KEY_ID }}
177183
aws_secret_access_key: ${{ secrets.AWS_PROD_SECRET_ACCESS_KEY }}
178184
aws_region: eu-central-1
179185
function_name: rapidapi-prod-testing-worker
180186
zip_file: worker.zip
181187
handler: dist/src/main.execute
188+
description: "aws:states:opt-out"
182189
- name: Deploy worker to production eu-west-3
183-
uses: appleboy/lambda-action@v0.1.3
190+
uses: appleboy/lambda-action@v0.1.5
184191
with:
185192
aws_access_key_id: ${{ secrets.AWS_PROD_ACCESS_KEY_ID }}
186193
aws_secret_access_key: ${{ secrets.AWS_PROD_SECRET_ACCESS_KEY }}
187194
aws_region: eu-west-3
188195
function_name: rapidapi-prod-testing-worker
189196
zip_file: worker.zip
190197
handler: dist/src/main.execute
198+
description: "aws:states:opt-out"
191199
- name: Deploy worker to production sa-east-1
192-
uses: appleboy/lambda-action@v0.1.3
200+
uses: appleboy/lambda-action@v0.1.5
193201
with:
194202
aws_access_key_id: ${{ secrets.AWS_PROD_ACCESS_KEY_ID }}
195203
aws_secret_access_key: ${{ secrets.AWS_PROD_SECRET_ACCESS_KEY }}
196204
aws_region: sa-east-1
197205
function_name: rapidapi-prod-testing-worker
198206
zip_file: worker.zip
199207
handler: dist/src/main.execute
208+
description: "aws:states:opt-out"

.github/workflows/staging-change.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,15 @@ jobs:
5858
with:
5959
name: zipped_worker
6060
- name: Deploy default worker to staging us-east-1
61-
uses: appleboy/lambda-action@v0.1.3
61+
uses: appleboy/lambda-action@v0.1.5
6262
with:
6363
aws_access_key_id: ${{ secrets.AWS_STAGING_ACCESS_KEY_ID }}
6464
aws_secret_access_key: ${{ secrets.AWS_STAGING_SECRET_ACCESS_KEY }}
6565
aws_region: us-east-1
6666
function_name: rapidapi-stage-testing-worker
6767
zip_file: worker.zip
6868
handler: dist/src/main.execute
69+
description: "aws:states:opt-out"
6970
#
7071
# This is where we add addition default workers in other regions if needed
7172
#
@@ -90,11 +91,12 @@ jobs:
9091
# Note. Rapid default workers do not have a LOCATION_CONTEXT
9192
#
9293
- name: Deploy worker to custom lambda
93-
uses: appleboy/lambda-action@v0.1.3
94+
uses: appleboy/lambda-action@v0.1.5
9495
with:
9596
aws_access_key_id: ${{ secrets.AWS_STAGING_ACCESS_KEY_ID }}
9697
aws_secret_access_key: ${{ secrets.AWS_STAGING_SECRET_ACCESS_KEY }}
9798
aws_region: us-east-1
9899
function_name: rapidapi-stage-testing-worker-custom
99100
zip_file: worker.zip
100101
handler: dist/src/main.execute
102+
description: "aws:states:opt-out"

0 commit comments

Comments
 (0)