Support local config file in WorkloadManagementScheduler

Open Beginner friendly
#694 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
aws, python
Domain
cloud

Research direction

Start in src/WorkloadManagementScheduler/wlm_scheduler.py, especially the configuration handling around lines 98-105. Trace how inline configuration and S3 JSON files are selected, then check the Lambda code directory behavior. Done means a local JSON configuration is accepted alongside the existing sources and the relevant scheduler tests pass.

Written by the indexing model from the issue text.

Description

Feature Request
In WorkloadManagementScheduler/wlm_scheduler.py
Currently both inplace configuration and json files stored in s3 are supported.
Additionally add support for local json file stored in lambda's code dir.

https://github.com/awslabs/amazon-redshift-utils/blob/7d2361b96b9599d9a47a593d18c4b12f832f9a38/src/WorkloadManagementScheduler/wlm_scheduler.py#L98-L105

Dominant language
Python
Stars
2.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from awslabs/amazon-redshift-utils

All issues in awslabs/amazon-redshift-utils

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.