WindowsでAWS Toolkit for Visual Studio Code/PyCharmを使ってもサーバーレスアプリケーションを作成することができない ~ Error: Please verify your location. The following types of location are supported
これ、色々調べてみたり、試してみたが結局解決していない。
AWS Toolkitどうこういう前に、samコマンドを使ってCLIで試してみたが失敗。
PS C:\aws> sam init --runtime python3.7 Which template source would you like to use? 1 - AWS Quick Start Templates 2 - Custom Template Location Choice: 1 Project name [sam-app]: Cloning app templates from https://github.com/awslabs/aws-sam-cli-app-templates.git ----------------------- Generating application: ----------------------- Name: sam-app Runtime: python3.7 Dependency Manager: pip Application Template: hello-world Output Directory: . Next steps can be found in the README file at ./sam-app/README.md Error: Please verify your location. The following types of location are supported: * Github: gh:user/repo (or) https://github.com/user/repo (or) git@github.com:user/repo.git For Git repositories, you must use location of the root of the repository. * Mercurial: hg+ssh://hg@bitbucket.org/repo * Http(s): https://example.com/code.zip * Local Path: /path/to/code.zip
ただ、ググっても失敗した事例が見つからないので、AWS EC2(Linux)でsamコマンドを使って試してみたら、サンプルプロジェクトが作成された。
意味がわからない。
これはどういう意味なのか・・・。
Error: Please verify your location. The following types of location are supported:
Github: gh:user/repo (or) https://github.com/user/repo (or) git@github.com:user/repo.git
For Git repositories, you must use location of the root of the repository.
Http(s): https://example.com/code.zip
Local Path: /path/to/code.zip