Difference between revisions of "Error: Failed to download module"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
  
=== Please use a personal access token instead ===
+
== Please use a personal access token instead ==
 
  ╷
 
  ╷
 
  │ Error: Failed to download module
 
  │ Error: Failed to download module
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'
 
  │
 
  │
 
  
 
=== [[pathspec]] '[[master]]' did not match any file(s) known to git ===
 
=== [[pathspec]] '[[master]]' did not match any file(s) known to git ===

Revision as of 14:56, 19 October 2021

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'

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: