localstack / localstack/pulumi-local

Script enters into an infinite loop when pulumi is not installed

Open
#35 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
91
Forks
9
PR merge metrics
No merged PRs in 30d

Description

`pulumilocal` enters into an infinite loop (likely executing itself) when `pulumi` is not installed and `PULUMI_CMD` is None. Ideally it should print a helpful error message.

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.

Research direction

Start at the pulumilocal command entry point and reproduce the case with pulumi unavailable and PULUMI_CMD unset. Trace why the wrapper invokes itself, then verify that it exits with a helpful error message instead of looping.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.