Skip to content

Using --project-dir option #940

@hx2A

Description

@hx2A

When deploying a package this works fine to deploy a package:

$ cd quickdraw-lambdas/
$ chalice deploy --no-autogen-policy

but this does not:

$ cd ..
$ chalice --project-dir "quickdraw-lambdas/" deploy --no-autogen-policy

I get the error message:

FileNotFoundError: [Errno 2] No such file or directory: 'quickdraw-lambdas/.chalice/config.json'

Even though that file exists:

$ ll quickdraw-lambdas/.chalice/config.json
-rw-rw-r-- 1 jim jim 129 Aug 18 21:07 quickdraw-lambdas/.chalice/config.json

I can change that directory to an absolute path to make it work but I want it to be relative. I do see issue #414 . Is it supposed to work this way? Is there a way to specify a relative path?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions