Terraform provider for njal.la domain records using the njalla API.
The API gives access to a lot more resources, so far just domain records is implemented
provider "njalla" {
token = "de65d2cec2b202c9a37089ad4ac9b81e"
}
token- (Required) your token in njalla or via env variableNJALLA_TOKEN, can be generated here
This resource can create/edit your domain records
resource "njalla_domain_record" "this" {
domain = "example.com"
name = "subdomain"
content = "127.0.0.1"
type = "A"
ttl = 10800
}
domain(Required) the domain you want to add a record toname(Required) name of the domain recordcontent(Required) content of the recordtype(Optional, defaultA) the type of the recordttl(Optional, default10800) the Time To Live for the record