-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error refreshing state #37
Comments
After some tweaks on mentioned #!/bin/sh
set -eu
ssh-add --apple-use-keychain ~/.ssh/id_ecdsa
export SSH_PRIVATE_KEY=/Users/alex/.ssh/id_ecdsa
echo "Using private key: $SSH_PRIVATE_KEY"
echo "Auth socket: $SSH_AUTH_SOCK"
terraform-backend-git -l git terraform "$@" but this gives another error output:
|
@dee-kryvenko any suggestions here? |
I am not immediately sure, I have not tried it with self-hosted Git repos yet. Can you try |
Unfortunately, setting "StrictHostKeyChecking" doesn't change anything. I will try to find some time to debug into it. |
Hi,
i am trying out terraform-backend-git v0.1.4 on a M1 Mac.
For the backend, i've created a script on
PATH
calledtfbg
with following content:In a terraform folder in my repo, i've created a
terraform-backend-git.hcl
file with following content:Upon using
tfbg init
, i get agit_http_backend_auto.tf
file created:But the command execution leaves me with following:
Looks like something is going wrong on the SSH level.
Cloning the infra_state.git repo from the command line works just fine (BTW it's a bare repository).
P.S.: Maybe worth mentioning: the CEPBEPOK hostname is not directly resolvable; it's defined in some
~/.ssh/config
file of mine (it's a server located on my local network). As being said, the git clone works without any issues.The text was updated successfully, but these errors were encountered: