Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.28 KB

File metadata and controls

46 lines (30 loc) · 1.28 KB
page_title subcategory description
unleash_segment Resource - terraform-provider-unleash
Segment resource

unleash_segment (Resource)

Segment resource

Schema

Required

  • name (String) The name of this segment

Optional

  • constraints (Attributes List) The list of constraints that make up this segment (see below for nested schema)
  • description (String) A description of what the segment is for
  • project (String) The name of project this segment belongs to

Read-Only

  • id (String) ID of this segment
  • id_int (Number) ID of this segment as int

Nested Schema for constraints

Required:

  • context_name (String) Context name
  • operator (String) Operator

Optional:

  • case_insensitive (Boolean) Case insensitive flag
  • inverted (Boolean) Inverted flag
  • value (String) Value The context value that should be used for constraint evaluation. Use this property instead of values for properties that only accept single values.
  • values_json (String) An array of string values encoded in JSON. This need to be JSON to avoid performance issue with large number of values.