Error: Failed to download module
Revision as of 15:18, 19 October 2021 by Welcome (talk | contribs) (→Please use a personal access token instead)
Contents
Please use a personal access token instead
╷ │ Error: Failed to download module │ │ Could not download module "s3" (main.tf:4) source code from "github.com/your-project/path-to-your/modules/s3": error downloading │ 'https://github.com/your-project/terraform-templates-infra.git': /usr/bin/git exited with 128: Cloning into '.terraform/modules/s3'... │ remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. │ remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information. │ fatal: Authentication failed for 'https://github.com/your-project/terraform-templates-infra.git' │
Solution: Generate a PAT and use it as password when prompted for username and password.
pathspec 'master' did not match any file(s) known to git
╷ │ Error: Failed to download module │ │ Could not download module "parameters" (main.tf:257) source code from "github.com/your-project/your-module/parameters": │ error downloading 'https://github.com/your-project/terrafo-infra.git': /usr/bin/git exited with 1: error: pathspec 'master' did not │ match any file(s) known to git │ ╵
Related terms
See also
Advertising: