terraform DNS updates #9

Merged
teutat3s merged 3 commits from dns-updates into main 2023-05-14 13:13:54 +00:00

Changes already applied:

❯ terraform plan -out "pub-solar-infra.plan"

Acquiring state lock. This may take a few moments...
namecheap_domain_records.pub-solar: Refreshing state... [id=pub.solar]
data.triton_image.nixos: Reading...
data.triton_network.public: Reading...
data.triton_network.private: Reading...
data.triton_image.nixos: Read complete after 1s [id=4c0be8bc-cbc9-660f-9736-c6a0fa0a894c]
data.triton_network.private: Read complete after 2s [id=3a8563cb-2930-49b2-954d-d81e0f68ce23]
data.triton_network.public: Read complete after 2s [id=b787ced8-84fd-4303-a320-53647979aa93]
triton_machine.pub-solar-infra-vm-1: Refreshing state... [id=d347ec63-9d45-43a6-a6ad-1b62740b65a3]

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # namecheap_domain_records.pub-solar will be updated in-place
  ~ resource "namecheap_domain_records" "pub-solar" {
        id         = "pub.solar"
        # (3 unchanged attributes hidden)
      + record {
          + address  = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone."
          + hostname = "stream"
          + mx_pref  = 10
          + ttl      = 1799
          + type     = "CNAME"
        }
        # (27 unchanged blocks hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Saved the plan to: pub-solar-infra.plan

To perform exactly these actions, run the following command to apply:
    terraform apply "pub-solar-infra.plan"
Releasing state lock. This may take a few moments...

❯ terraform apply "pub-solar-infra.plan"
╷
│ Warning: Warning: "manta" backend is deprecated, and will be removed in a future release."
│
Acquiring state lock. This may take a few moments...
namecheap_domain_records.pub-solar: Modifying... [id=pub.solar]
namecheap_domain_records.pub-solar: Modifications complete after 1s [id=pub.solar]
Releasing state lock. This may take a few moments...

Apply complete! Resources: 0 added, 1 changed, 0 destroyed.

❯ dig +short stream.pub.solar
flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone.
80.71.153.210
Changes already applied: ``` ❯ terraform plan -out "pub-solar-infra.plan" Acquiring state lock. This may take a few moments... namecheap_domain_records.pub-solar: Refreshing state... [id=pub.solar] data.triton_image.nixos: Reading... data.triton_network.public: Reading... data.triton_network.private: Reading... data.triton_image.nixos: Read complete after 1s [id=4c0be8bc-cbc9-660f-9736-c6a0fa0a894c] data.triton_network.private: Read complete after 2s [id=3a8563cb-2930-49b2-954d-d81e0f68ce23] data.triton_network.public: Read complete after 2s [id=b787ced8-84fd-4303-a320-53647979aa93] triton_machine.pub-solar-infra-vm-1: Refreshing state... [id=d347ec63-9d45-43a6-a6ad-1b62740b65a3] Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: ~ update in-place Terraform will perform the following actions: # namecheap_domain_records.pub-solar will be updated in-place ~ resource "namecheap_domain_records" "pub-solar" { id = "pub.solar" # (3 unchanged attributes hidden) + record { + address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone." + hostname = "stream" + mx_pref = 10 + ttl = 1799 + type = "CNAME" } # (27 unchanged blocks hidden) } Plan: 0 to add, 1 to change, 0 to destroy. ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Saved the plan to: pub-solar-infra.plan To perform exactly these actions, run the following command to apply: terraform apply "pub-solar-infra.plan" Releasing state lock. This may take a few moments... ❯ terraform apply "pub-solar-infra.plan" ╷ │ Warning: Warning: "manta" backend is deprecated, and will be removed in a future release." │ Acquiring state lock. This may take a few moments... namecheap_domain_records.pub-solar: Modifying... [id=pub.solar] namecheap_domain_records.pub-solar: Modifications complete after 1s [id=pub.solar] Releasing state lock. This may take a few moments... Apply complete! Resources: 0 added, 1 changed, 0 destroyed. ❯ dig +short stream.pub.solar flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone. 80.71.153.210 ```
teutat3s added 2 commits 2023-05-13 14:56:55 +00:00
teutat3s added 1 commit 2023-05-13 15:01:42 +00:00
teutat3s force-pushed dns-updates from 980c215c97 to 8bf1a72bc4 2023-05-13 15:07:24 +00:00 Compare
teutat3s requested review from b12f 2023-05-13 15:48:58 +00:00
teutat3s requested review from hensoko 2023-05-13 15:48:58 +00:00
teutat3s requested review from axeman 2023-05-13 15:48:58 +00:00
hensoko approved these changes 2023-05-13 21:28:00 +00:00
teutat3s merged commit c9863a68b2 into main 2023-05-14 13:13:54 +00:00
teutat3s deleted branch dns-updates 2023-05-14 13:13:54 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: pub-solar/infra-vintage#9
There is no content yet.