imgup
Fly.io App deployment overwriting AWS env vars leading to failure
#78
Labels
BLOCKED
:fire: Core team's HIGHEST priority, blocking critical work
chore
a tedious but necessary task often paying technical debt
T25m
Time Estimate 25 Minutes
tech-debt
A feature/requirement implemented in a sub-optimal way & must be re-written
technical
A technical issue that requires understanding of the code, infrastructure or dependencies
At present the automatic continuous deployment (CD) from GitHub actions to Fly.io for the
imgup
app works partially.https://imgup.fly.dev/liveview
imgup-liveview-upload-working.mov
However the
REST API
fails when we attempt to upload inHoppscotch
:The app was recently deployed: https://fly.io/apps/imgup
In the logs following the failed
API
request we see the following error:https://fly.io/apps/imgup/monitoring
Which relates to the following line of code:
imgup/lib/app_web/controllers/api_controller.ex
Line 13 in 62fc7f9
Not super informative, but we know the upload is failing due to unavailability of the
AWS :secret_access_key
... 🙃So we know what needs to be fixed ... 🤞
Todo
AWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
fromci.yml
:imgup/.github/workflows/ci.yml
Lines 61 to 62 in 7eb43e7
FLY_API_TOKEN
to thedwyl
account.The text was updated successfully, but these errors were encountered: