Updating a dynamic variable without having to re-deploy Chalice
- Dominant language
- Python
- Stars
- 11.1k
- Forks
- 1k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 2
Description
Hello,
My app has a subfolder from root directory (./chalicelib) where I have a local process running that updates a token value every 30 min to a flat file that gets read in my app.py. I'm finding when I deploy Chalice, it seems to send the folder with the token value over as static, so that the deployed app does not read the updated values I'm writing locally every 30 minutes.
I am wondering if there's any way I can pass these updated tokens to the deployed app without having to just keep re-deploying it every 30 mins?
Thanks
Contributor guide
Research direction
Start with the deployment behavior for the ./chalicelib folder and how app.py reads its flat file at runtime. Determine whether Chalice provides a supported way for deployed code to receive token updates without redeployment; done should be a documented, working approach or a clearly scoped feature request.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- backend, cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100