This is a Terraform provider for the Netcup CCP API. It provides resources to manage Netcup DNS records.
terraform {
required_providers {
netcup-ccp = {
source = "rincedd/netcup-ccp"
}
}
}
provider "netcup-ccp" {
customer_number = "123456" # Netcup customer number
ccp_api_key = "xxxyyyzzz" # API key for Netcup CCP
ccp_api_password = "secret" # API key password
}
resource "netcup-ccp_dns_record" "sample_record" {
domain_name = "example.de"
name = "@"
type = "A"
value = "1.2.3.4"
priority = "0" # for MX records
}