feat: add terraform DNS docs

This commit is contained in:
teutat3s 2023-10-29 16:11:29 +01:00 committed by b12f
parent 9cf2ba9d67
commit 20277f23ff
Signed by: pub.solar gitea
GPG key ID: F0332B04B7054873
2 changed files with 23 additions and 0 deletions

1
.gitignore vendored
View file

@ -2,3 +2,4 @@
/tags.* /tags.*
.direnv .direnv
.terraform .terraform
*.plan

View file

@ -1 +1,23 @@
# Changing DNS entries # Changing DNS entries
### Initial setup
Change into the terraform directory and initialize the terraform providers.
```
cd terraform
cat ~/.config/triton/profiles.d/lev-1-pub_solar.json | grep keyId
export TRITON_KEY_ID=
terraform init
```
Plan your changes using:
```
terraform plan -out pub-solar-infra.plan
```
After verification, apply your changes with:
```
terraform apply "pub-solar-infra.plan"
```