2023-10-28 23:37:31 +00:00
|
|
|
# Changing DNS entries
|
2023-10-29 15:11:29 +00:00
|
|
|
|
|
|
|
### 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"
|
|
|
|
```
|