26 lines
348 B
Markdown
26 lines
348 B
Markdown
# Usage
|
|
|
|
```
|
|
terraform-backend-git --tf tofu -l git terraform plan
|
|
```
|
|
|
|
```
|
|
terraform-backend-git --tf tofu -l git terraform apply
|
|
```
|
|
|
|
# FAQ
|
|
|
|
Problem:
|
|
|
|
```
|
|
[terraform-backend-git]: ssh: handshake failed: knownhosts: key mismatch
|
|
```
|
|
|
|
Solution:
|
|
```
|
|
ssh-keyscan git.pub.solar >> ~/.ssh/known_hosts
|
|
```
|
|
|
|
https://github.com/go-git/go-git/issues/411
|
|
|