prod stage queues separation
- Dominant language
- Python
- Stars
- 11.1k
- Forks
- 1k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 2
Description
I cannot find an easy and clear way to separate my prod queues. For api gateway there is a simple prefix you can change form "api" to "prod". I do not see an option to do it for queues.
@app.on_sqs_message(queue='blah_queue', batch_size=1)
```
def sqs_blah_queue(event):
pass
```
Can I use in .chalice/config.json a per stage setup lines like:
```
"lambda_functions": {
"sqs_blah_queue": {
"queue": "prod_blah_queue",
"lambda_memory_size": 2048,
"lambda_timeout": 900
},
...
```
Maybe
`
chalice package --merge-template
`
can be an answer?
Contributor guide
Research direction
Start with the .chalice/config.json stage configuration and the @app.on_sqs_message declaration, then inspect what chalice package --merge-template currently produces for SQS functions. Determine whether queue names can be configured per stage and verify the generated package uses the intended production queue; the issue is resolved when the supported configuration or limitation is clear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100