feat: terraform DNS for namecheap #29

Merged
b12f merged 8 commits from feat/terraform-dns into main 2023-10-29 19:39:35 +00:00
2 changed files with 23 additions and 0 deletions
Showing only changes of commit 20277f23ff - Show all commits

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"
```