Skip to content

Provider doesn't recognize removal of allowed_addresses attribute from network interface #926

@flobeier

Description

@flobeier

Description

The provider doesn't recognize the removal of the allowed_addresses attribute from the resource stackit_network_interface.

Steps to reproduce

resource "stackit_network_interface" "example" {
  project_id         = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  network_id         = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  allowed_addresses  = ["192.168.0.0/24"]
  security_group_ids = ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]
}
  1. Run terraform apply
  2. Remove allowed_addresses attribute
  3. Terraform doesn't recognize any changes

Actual behavior

The removal of the allowed_addresses attribute from the stackit_network_interface resource isn't detected.

Expected behavior

The removal of the allowed_addresses attribute from the stackit_network_interface resource is detected and changes will be applied accordingly.

Environment

  • OS: Ubuntu 25.04
  • Terraform version (see terraform --version): v1.12.1
  • Version of the STACKIT Terraform provider: 0.57.0

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