Open bilyboy785 opened 5 months ago
Hi,
I have an existing mailcow domain and i try to figure out with your dkim terraform module to generate a new key and add it to a dns record :
resource "mailcow_domain" "domain" { domain = var.zone_name description = var.mailcow_description gal = var.gal restart_sogo = var.restart_sogo aliases = var.aliases mailboxes = var.mailboxes defquota = var.defquota maxquota = var.maxquota quota = var.quota rate_limit = var.rate_limit } resource "mailcow_dkim" "dkim" { domain = mailcow_domain.domain.id length = 2048 } resource "cloudflare_record" "dkim" { zone_id = var.zone_id name = "dkim._domainkey.${var.zone_name}" value = mailcow_dkim.dkim.dkim_txt type = "TXT" ttl = 1 proxied = false }
I'm facing this error :
│ Error: strconv.Atoi: parsing "<nil>": invalid syntax │ │ with module.mailcow_artsfr.mailcow_dkim.dkim, │ on ../../modules/cloudflare-mx-bldwebagency/main.tf line 15, in resource "mailcow_dkim" "dkim": │ 15: resource "mailcow_dkim" "dkim" {
Do you have any idea what is wrong ?
Is the code you provided the file "../../modules/cloudflare-mx-bldwebagency/main.tf"? Which command produced the error after which flow?
Can you share a full plan output?
Hi,
I have an existing mailcow domain and i try to figure out with your dkim terraform module to generate a new key and add it to a dns record :
I'm facing this error :
Do you have any idea what is wrong ?