terraform/modules/dns/namecheap.tf

13 lines
307 B
Terraform
Raw Normal View History

2023-05-23 13:46:52 +02:00
provider "namecheap" {
user_name = "gthar"
api_user = "gthar"
2023-05-25 14:43:17 +02:00
client_ip = var.caladan.ipv4 // caladan's public IP
2023-05-23 13:46:52 +02:00
use_sandbox = false
}
resource "namecheap_domain_records" "namecheap-monotremata-xyz" {
2023-05-25 14:43:17 +02:00
domain = var.domain
mode = "OVERWRITE"
nameservers = var.nameservers
2023-05-23 13:46:52 +02:00
}