Skip to content

Commit

Permalink
Refactor stack names
Browse files Browse the repository at this point in the history
Some names are too long and causing the build to fail
  • Loading branch information
Ru Chern Chong committed May 24, 2024
1 parent 82d2267 commit e36171b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- uses: pulumi/actions@v5
with:
command: up
stack-name: production
stack-name: prod
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
MONGODB_URI: ${{ secrets.MONGODB_URI }}
Expand Down
4 changes: 2 additions & 2 deletions __main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ def create_event_rule(name, scheduled_expression, target_lambda_function):
cron_schedulers = {
"cars": {"cron": "cron(0/60 0-10 ? * MON-FRI *)", "function": update_cars_function},
"coe": {"cron": "cron(0/60 0-10 ? * MON-FRI *)", "function": update_coe_function},
"coe-first-bidding": {"cron": "cron(0/10 8-10 ? * 4#1 *)", "function": update_coe_function},
"coe-second-bidding": {"cron": "cron(0/10 8-10 ? * 4#3 *)", "function": update_coe_function},
"coe-1st-bidding": {"cron": "cron(0/10 8-10 ? * 4#1 *)", "function": update_coe_function},
"coe-2nd-bidding": {"cron": "cron(0/10 8-10 ? * 4#3 *)", "function": update_coe_function},
}

for name, scheduler in cron_schedulers.items():
Expand Down

0 comments on commit e36171b

Please sign in to comment.