terraform-provider-vultr icon indicating copy to clipboard operation
terraform-provider-vultr copied to clipboard

[BUG] - DNS create record priority error

Open dR3b opened this issue 1 year ago • 1 comments

Describe the bug After creating a DNS (cname) record, Terraform displays a priority error:

resource "vultr_dns_domain" "blabla" {
  domain = "<DOMAIN>"
  ip     = "<IP>"
}

resource "vultr_dns_record" "blabla-alfa" {
  domain   = vultr_dns_domain.blabla.id
  data     = vultr_dns_domain.blabla.id
  name     = "alfa"
  type     = "CNAME"
  ttl      = 1800
}

Error:

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the
following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # vultr_dns_record.blabla-alfa will be updated in-place
  ~ resource "vultr_dns_record" "blabla-alfa" {
        id       = "752c46ac-b153-4c25-8276-45556eca9ea4"
        name     = "alfa"
      - priority = -1 -> null
        # (4 unchanged attributes hidden)
    }

Terraform:

Terraform v1.3.4
on linux_amd64

Plugin: Vultr:

vultr = {
  source  = "vultr/vultr"
  version = "2.11.4"
}

dR3b avatar Nov 07 '22 09:11 dR3b