feat: terraform DNS for namecheap #29
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@
|
|||
/tags.*
|
||||
.direnv
|
||||
.terraform
|
||||
*.plan
|
||||
|
|
22
docs/dns.md
22
docs/dns.md
|
@ -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"
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue