Skip to content

~ update in-place of "netflow_collector_ip_address" configuration every time on terraform plan/apply #251

@Pson123

Description

@Pson123

Hello,
Terraform re-applies "netflow_collector_ip_address" configuration every time during terraform plan/apply actions.

Example of configuration:

resource "catalystcenter_area" "example" {
  name        = "Area1"
  parent_name = "Global"
}

resource "catalystcenter_telemetry_settings" "example" {
  site_id                             = catalystcenter_area.example.id
  enable_wired_data_collection        = true
  enable_wireless_telemetry           = true
  use_builtin_trap_server             = true
  external_trap_servers               = ["10.0.0.1"]
  use_builtin_syslog_server           = true
  external_syslog_servers             = ["10.0.0.1"]
  enable_netflow_collector_on_devices = true
  netflow_collector                   = "TelemetryBrokerOrUDPDirector"
  netflow_collector_ip_address        = "123.100.100.100"
  netflow_collector_port              = "600"
}

During terraform plan or apply, terraform tries to update the config:

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:

  # catalystcenter_telemetry_settings.example will be updated in-place
  ~ resource "catalystcenter_telemetry_settings" "example" {
        id                                  = "27b234ed-7b2e-48db-96ca-7adafef8bb00"
      + netflow_collector_ip_address        = "123.100.100.100"
        # (10 unchanged attributes hidden)
    }

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions