Open
Description
my git repo is on Azure DevOps. I tried both ssh and http, and both cli config and terraform backend config, always with the same result:
[terraform-backend-git]: empty git-upload-pack given
[terraform-backend-git]: empty git-upload-pack given
[terraform-backend-git]: empty git-upload-pack given
Error: Error loading state:
Failed to get state: GET http://localhost:6061/?type=git&[email protected]:v3/REDACTED/infra-analytics/tooling-tf&ref=state&state=tfstate.json giving up after 3 attempts
Just to make sure, I already created the branch, and the tfstate.json file, but got the same result.
Here's my config:
terraform {
backend "http" {
address = "http://localhost:6061/?type=git&[email protected]:v3/REDACTED/infra-analytics/tooling-tf&ref=state&state=tfstate.json"
lock_address = "http://localhost:6061/?type=git&[email protected]:v3/REDACTED/infra-analytics/tooling-tf&ref=state&state=tfstate.json"
unlock_address = "http://localhost:6061/?type=git&[email protected]:v3/REDACTED/infra-analytics/tooling-tf&ref=state&state=tfstate.json"
}
}
I also have the TF_BACKEND_HTTP_ENCRYPTION_PASSPHRASE
env var set.
When enabling the access logs, I get
[terraform-backend-git]: ssh: handshake failed: EOF
127.0.0.1 - - [19/Oct/2020:11:24:48 +0200] "GET /?type=git&[email protected]:v3/REDACTED/infra-analytics/tooling-tf&ref=state&state=tfstate.json HTTP/1.1" 500 27
[terraform-backend-git]: empty git-upload-pack given
127.0.0.1 - - [19/Oct/2020:11:25:10 +0200] "GET /?type=git&[email protected]:v3/REDACTED/infra-analytics/tooling-tf&ref=state&state=tfstate.json HTTP/1.1" 500 27
[terraform-backend-git]: empty git-upload-pack given
127.0.0.1 - - [19/Oct/2020:11:25:13 +0200] "GET /?type=git&[email protected]:v3/REDACTED/infra-analytics/tooling-tf&ref=state&state=tfstate.json HTTP/1.1" 500 27
Metadata
Metadata
Assignees
Labels
No labels