aws / aws/aws-elastic-beanstalk-cli

Support relative-path references in `--update`

Open
#563 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
181
Forks
88
PR merge metrics
No merged PRs in 30d

Description

## Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request. If you are interested in working on this issue or have submitted a pull request, please leave a comment.

### Tell us about your request

Support relative-path references as described by RFC-3986, allowing something similar to `--update=file:relative/path/to/config.yml`.

This would introduce some new ambiguity—is that a URI or a YAML string?—but not a new form of ambiguity. The CLI already decides to treat `file:/not-a-path` as a URI rather than as literal configuration. Maybe the right way forward is to let different options be responsible for URIs (which could then just be paths) and literal configuration.

### Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?

The same as in #93, reference configuration files by relative path. This would be especially nice to have in collaborative projects that don't necessarily live at the same absolute path for different collaborators.

### Are you currently working around this issue?

Yes, with `file://$(pwd)/relative/path/to/config.yml`

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the --update option distinguishes file: URIs from literal YAML configuration, then read the related problem in issue #93. Define the expected behavior for a relative path such as file:relative/path/to/config.yml and verify it against the existing absolute-path workaround before considering the work complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.