Difference between revisions of "Error: Failed to download module"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
│ fatal: [[Authentication failed]] for 'https://github.com/your-project/terraform-templates-infra.git' | │ 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 == | == [[pathspec]] '[[master]]' did not match any file(s) known to git == |
Latest revision as of 15:18, 19 October 2021
Contents
Please use a personal access token instead[edit]
╷ │ 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[edit]
╷ │ 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[edit]
See also[edit]
Advertising: