feat: add terraform DNS docs

This commit is contained in:
teutat3s 2023-10-29 16:11:29 +01:00
parent d019eebf78
commit 45d30415d7
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 23 additions and 0 deletions

1
.gitignore vendored
View file

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

View file

@ -1 +1,23 @@
# 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"
```