App name is not in valid format

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
aws, python
Domain
cloud

Research direction

Open app.py and locate the application or stack name currently set to lambda_app. Change it to the valid lambda-app format, then run the example deployment or reproduction described by the error to confirm the stack name is accepted.

Written by the indexing model from the issue text.

Description

File "/Users/ngjhn/Library/Python/3.7/lib/python/site-packages/jsii/_kernel/__init__.py", line 282, in create
  for iface in getattr(klass, "__jsii_ifaces__", [])
File "/Users/ngjhn/Library/Python/3.7/lib/python/site-packages/jsii/_kernel/providers/process.py", line 344, in create
  return self._process.send(request, CreateResponse)
File "/Users/ngjhn/Library/Python/3.7/lib/python/site-packages/jsii/_kernel/providers/process.py", line 326, in send
  raise JSIIError(resp.error) from JavaScriptError(resp.stack)
jsii.errors.JSIIError: Stack name must match the regular expression: /^[A-Za-z][A-Za-z0-9-]*$/, got 'lambda_app'
Subprocess exited with error 1

In app.py the name should be lambda-app not lambda_app

Dominant language
Python
Stars
137
Forks
28
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-web-scraper-example

All issues in aws-samples/lambda-web-scraper-example

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.