Terraform-provider-nexus: Cannot update nexus_security_ldap resource

Created on 25 Aug 2020  ·  5Comments  ·  Source: datadrivers/terraform-provider-nexus

I'm trying to update a parameter on a newly created nexus_security_ldap resources but get the following error:

Error: could not update LDAP server `My AD`: HTTP: 400, :[ {
  "id" : "PARAMETER id",
  "message" : "may not be empty"
} ]

I've only changed the connection_retry_delay_seconds from 1 to 2 to reproduce this bug. My Terraform Plan looks like this:

# nexus_security_ldap.this will be updated in-place
  ~ resource "nexus_security_ldap" "this" {
        auth_password                  = (sensitive value)
        auth_realm                     = "LOCAL"
        auth_schema                    = "SIMPLE"
        auth_username                  = "NexusAD"
      ~ connection_retry_delay_seconds = 1 -> 2
        connection_timeout_seconds     = 1
        group_base_dn                  = "OU=Groups"
        group_id_attribute             = "sAMAccountName"
        (.... more keys removed....)
    }

Terraform Version: 0.13.0
Provider Version 1.10.2
Nexus Version: 3.25.1


More findings:

bug

All 5 comments

Hi @Skaronator,

tanks for your report and sorry for our delayed reply.
I will check the issue in the next few weeks.

regards
André

@Skaronator

please test with vesion v1.13.1 and reopen again if needed

Thanks for fixing! :)

@Skaronator
sry for the huge delay. we will increase our development time for this provider in the next time

No worries. It's great that you guys dedicate time in a open source free product.

Was this page helpful?
0 / 5 - 0 ratings