2022-12-31 05:24:28 +00:00
|
|
|
terraform {
|
|
|
|
required_providers {
|
|
|
|
namecheap = {
|
|
|
|
source = "namecheap/namecheap"
|
|
|
|
version = "~> 2.1.0"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
backend "http" {
|
2022-12-31 05:24:53 +00:00
|
|
|
address = "https://asciireactor.com/api/v4/projects/131/terraform/state/personal-database"
|
|
|
|
lock_address = "https://asciireactor.com/api/v4/projects/131/terraform/state/personal-database/lock"
|
|
|
|
unlock_address = "https://asciireactor.com/api/v4/projects/131/terraform/state/personal-database/lock"
|
2022-12-31 05:24:28 +00:00
|
|
|
lock_method = "POST"
|
|
|
|
unlock_method = "DELETE"
|
|
|
|
retry_wait_min = 5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
provider "namecheap" {}
|
|
|
|
|
|
|
|
resource "namecheap_domain_records" "othonotes-com" {
|
|
|
|
domain = "othonotes.com"
|
|
|
|
record {
|
|
|
|
address = "rprxy-0.saline.o4data.net"
|
|
|
|
hostname = "@"
|
|
|
|
type = "ALIAS"
|
|
|
|
ttl = 300
|
|
|
|
}
|
|
|
|
record {
|
|
|
|
address = "othonotes.com."
|
|
|
|
hostname = "www"
|
|
|
|
type = "CNAME"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
resource "namecheap_domain_records" "othostash-com" {
|
|
|
|
domain = "othostash.com"
|
|
|
|
|
|
|
|
record {
|
|
|
|
address = "96.78.236.124"
|
|
|
|
hostname = "@"
|
|
|
|
type = "A"
|
|
|
|
}
|
|
|
|
record {
|
|
|
|
address = "othostash.com."
|
|
|
|
hostname = "www"
|
|
|
|
type = "CNAME"
|
|
|
|
}
|
|
|
|
}
|