os/terraform/README.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
348 B
Markdown
Raw Normal View History

2023-11-13 14:48:05 +00:00
# Usage
```
2024-03-19 20:00:28 +00:00
terraform-backend-git --tf tofu -l git terraform plan
2023-11-13 14:48:05 +00:00
```
```
2024-03-19 20:00:28 +00:00
terraform-backend-git --tf tofu -l git terraform apply
2023-11-13 14:48:05 +00:00
```
# FAQ
2023-11-12 17:17:35 +00:00
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