Skip to content

Error: inconsistent result for default_nameserver in stackit_network_area_region #1178

@martin-reich

Description

@martin-reich

Description

│ Error: Provider produced inconsistent result after apply
│ 
│ When applying changes to module.networking.stackit_network_area_region.this, provider "provider[\"registry.terraform.io/stackitcloud/stackit\"]" produced an unexpected new value: .ipv4.default_nameservers[0]: was cty.StringVal("8.8.8.8"), but now cty.StringVal("8.8.4.4").
│ 
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.


│ Error: Provider produced inconsistent result after apply

│ When applying changes to module.networking.stackit_network_area_region.this, provider "provider[\"registry.terraform.io/stackitcloud/stackit\"]" produced an unexpected new value: .ipv4.default_nameservers[1]: was cty.StringVal("8.8.4.4"), but now cty.StringVal("8.8.8.8").

│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

Steps to reproduce

Apply and reapply a STACKIT network area

resource "stackit_network_area_region" "this" {
  organization_id = var.organization_id
  network_area_id = stackit_network_area.this.network_area_id
  region          = var.region

  ipv4 = {
  transfer_network      = "192.168.0.0/24"
  network_ranges        = ["10.0.0.0/16"]
  default_nameservers   = ["8.8.8.8", "8.8.4.4"]
  default_prefix_length = 24
  min_prefix_length     = 24
  max_prefix_length     = 29
  }

Actual behavior

Throws above error

Expected behavior

Reapply should not show any changes

Environment

  • OS: MacOS 26.2
  • Terraform version (see terraform --version): v1.14.4
  • Version of the STACKIT Terraform provider: v0.79.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions