Skip to content

custom_properties do not update #201

Open
@lughino

Description

@lughino

Hi there,

I seem to have found a bug in the custom_properties field of the feature flags.
Given a resource

resource "launchdarkly_feature_flag" "test_flag" {
  project_key = "default"
  key         = "test_flag"
  name        = "test_flag"
  temporary   = true
  client_side_availability {
    using_environment_id = true
    using_mobile_key     = false
  }

  variation_type = "boolean"
  variations {
    value = "true"
  }
  variations {
    value = "false"
  }

  defaults {
    on_variation  = 1
    off_variation = 1
  }

  custom_properties {
    key   = "jira.issues"
    name  = "Jira Issues"
    value = ["PROJ-43", "PROJ-51", "PROJ-52"]
  }
}

If I update the jira issues custom_properties, terraform does not pick up any changes.
I tried to change/remove/add any value inside the value's list of strings but terraform seems not to recognise that that field has been updated.

Using LaunchDarkly provider version 2.18.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions