page_title | subcategory | description |
---|---|---|
unleash_feature Resource - terraform-provider-unleash |
Feature resource |
Feature resource
environments
(Attributes Map) The list of environments where the feature can be used (see below for nested schema)name
(String) The name of this featureproject
(String) The name of project this feature belongs totype
(String) Type of the toggle e.g. experiment, kill-switch, release, operational, permission
description
(String) Detailed description of the featureimpression_data
(Boolean) true if the impression data collection is enabled for the feature, otherwise false
id
(String) ID which is a combination of project ,.
and feature name. e.g. default.my-feature
Required:
enabled
(Boolean) Is this environment enabledstrategies
(Attributes List) Strategies of this feature (see below for nested schema)
Optional:
variants
(Attributes List) Variants of this feature (see below for nested schema)
Required:
disabled
(Boolean) Disabled flagname
(String) Name of this strategy
Optional:
constraints
(Attributes List) Constraints of this strategy (see below for nested schema)parameters
(Map of String) Parameters of this strategysegments
(Set of Number) Segment IDs of this strategysort_order
(Number) Sort ordertitle
(String) Title of this strategyvariants
(Attributes List) Variants of this strategy (see below for nested schema)
Read-Only:
id
(String) ID of this variant
Required:
context_name
(String) Context nameoperator
(String) Operator
Optional:
case_insensitive
(Boolean) Case insensitive flaginverted
(Boolean) Inverted flagvalue
(String) Value The context value that should be used for constraint evaluation. Use this property instead ofvalues
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.
Required:
name
(String) Name of this variantstickiness
(String) Stickiness
Optional:
payload
(String) Payload valuepayload_type
(String) Payload typeweight
(Number) Weight (1 - 1000). This is required only if weight_type is fix.weight_type
(String) Weight type (fix, variable)
Required:
name
(String) Name of this variantweight_type
(String) Weight type (fix, variable)
Optional:
overrides
(Attributes List) Overrides assigning specific variants to specific users. The weighting system automatically assigns users to specific groups for you, but any overrides in this list will take precedence. (see below for nested schema)payload
(String) Payload valuepayload_type
(String) Payload typestickiness
(String) Stickinessweight
(Number) Weight (1 - 1000). This is required only if weight_type is fix.
Required:
context_name
(String) The name of the context field used to determine overrides
Optional:
values_json
(String) An overriding array of string values encoded in JSON. This need to be JSON to avoid performance issue with large number of values.