Skip to content

priority in dnsimple_zone_record results in terraform error #360

Description

@maya-ashley0

Terraform Version

OpenTofu v1.12.1
on linux_amd64
+ provider registry.opentofu.org/dnsimple/dnsimple v1.10.0

Affected Resource(s)

  • dnsimple_zone_record

Terraform Configuration Files

resource "dnsimple_zone_record" "REDACTED" {
    zone_name = "REDACTED"
    name = "REDACTED"
    value = "REDACTED"
    type = "A"
    ttl = 3600
    priority = 10
}

Output

╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to dnsimple_zone_record.REDACTED, provider "provider[\"registry.opentofu.org/dnsimple/dnsimple\"]" produced an unexpected new value: .priority:
│ was cty.NumberIntVal(10), but now cty.NumberIntVal(0).
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵

Expected Behavior

Terraform should not say that there are bugs in the provider

Actual Behavior

Terraform says that there is a bug in the provider

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. Create a dnsimple_zone_record with a non-zero priority defined
  2. terraform apply

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageIssues that are opened and need to be investigated.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions