aws / aws/chalice

Running a pure Lambda function only in one stage?

Open
#1,009 6 comments 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
Python
Stars
11.1k
Forks
1k
Avg merge
1d 22h
Merged PRs (30d)
2

Description

Let's say I have a pure Lambda function running every 24 hours:
```python
@app.schedule('rate(24 hours)')
def myFunc(event):
pass
```

How do I make this kind of function run only on one stage? Assuming I deployed all other functions on all stages.

Contributor guide

Open the contributing guide

Research direction

Start at the Python @app.schedule('rate(24 hours)') entry point and trace how stage-specific deployment is configured. Determine whether a scheduled function can be limited to one stage; completion would be a documented configuration or a clearly scoped implementation with validation.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.