Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

fab setup command fails

Open
#10 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
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
aws, python
Domain
cli, tooling

Research direction

Start in fabfile.py at line 43 and reproduce fab setup on Windows using the command and environment shown in the report. Inspect how SSH_KEY_DIR is initialized and verify the command can load successfully without the HOME KeyError.

Written by the indexing model from the issue text.

Description

Hi,

I am trying to setup this application in windows.. while running fab setup (step3) i am getting the following error..

D:\aPaaS\Aws\projects\lambda-ecs-worker-pattern-master>fab setup
Traceback (most recent call last):
File "d:\apaas\aws\softwares\python2.7\lib\site-packages\fabric\main.py", line 666, in main
docstring, callables, default = load_fabfile(fabfile)
File "d:\apaas\aws\softwares\python2.7\lib\site-packages\fabric\main.py", line 167, in load_fabfile
imported = importer(os.path.splitext(fabfile)[0])
File "D:\aPaaS\Aws\projects\lambda-ecs-worker-pattern-master\fabfile.py", line 43, in
SSH_KEY_DIR = os.environ['HOME'] + '/.ssh'
File "d:\apaas\aws\softwares\python2.7\lib\os.py", line 425, in getitem
return self.data[key.upper()]
KeyError: 'HOME'

Please let me know how to resolve this

Dominant language
POV-Ray SDL
Stars
293
Forks
46
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 aws-samples/lambda-ecs-worker-pattern

All issues in aws-samples/lambda-ecs-worker-pattern

Similar issues

More CLI issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.