You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"launchdarkly_feature_flag" {
source="./modules/launchdarkly/r/launchdarkly_feature_flag"# default_off_variation - (optional) is a type of stringdefault_off_variation=null# default_on_variation - (optional) is a type of stringdefault_on_variation=null# description - (optional) is a type of stringdescription=null# include_in_snippet - (optional) is a type of boolinclude_in_snippet=null# key - (required) is a type of stringkey=null# maintainer_id - (optional) is a type of stringmaintainer_id=null# name - (required) is a type of stringname=null# project_key - (required) is a type of stringproject_key=null# tags - (optional) is a type of set of stringtags=[]
# temporary - (optional) is a type of booltemporary=null# variation_type - (required) is a type of stringvariation_type=nullcustom_properties=[{
key =null
name =null
value = []
}]
variations=[{
description =null
name =null
value =null
}]
}
variable"default_off_variation" {
description="(optional) - The value of the variation served when the flag is off for new environments"type=stringdefault=null
}
variable"default_on_variation" {
description="(optional) - The value of the variation served when the flag is on for new environments"type=stringdefault=null
}
variable"description" {
description="(optional)"type=stringdefault=null
}
variable"include_in_snippet" {
description="(optional)"type=booldefault=null
}
variable"key" {
description="(required) - The human-readable name of the feature flag"type=string
}
variable"maintainer_id" {
description="(optional)"type=stringdefault=null
}
variable"name" {
description="(required) - The feature flag's description"type=string
}
variable"project_key" {
description="(required) - The feature flag's project key"type=string
}
variable"tags" {
description="(optional)"type=set(string)
default=null
}
variable"temporary" {
description="(optional)"type=booldefault=null
}
variable"variation_type" {
description="(required) - The uniform type for all variations. Can be either \"boolean\", \"string\", \"number\", or \"json\"."type=string
}
variable"custom_properties" {
description="nested block: NestingSet, min items: 0, max items: 64"type=set(object(
{
key =string
name =string
value =list(string)
}
))
default=[]
}
variable"variations" {
description="nested block: NestingList, min items: 0, max items: 0"type=set(object(
{
description =string
name =string
value =string
}
))
default=[]
}
resource"launchdarkly_feature_flag""this" {
# default_off_variation - (optional) is a type of stringdefault_off_variation=var.default_off_variation# default_on_variation - (optional) is a type of stringdefault_on_variation=var.default_on_variation# description - (optional) is a type of stringdescription=var.description# include_in_snippet - (optional) is a type of boolinclude_in_snippet=var.include_in_snippet# key - (required) is a type of stringkey=var.key# maintainer_id - (optional) is a type of stringmaintainer_id=var.maintainer_id# name - (required) is a type of stringname=var.name# project_key - (required) is a type of stringproject_key=var.project_key# tags - (optional) is a type of set of stringtags=var.tags# temporary - (optional) is a type of booltemporary=var.temporary# variation_type - (required) is a type of stringvariation_type=var.variation_typedynamic"custom_properties" {
for_each=var.custom_propertiescontent {
# key - (required) is a type of stringkey=custom_properties.value["key"]
# name - (required) is a type of stringname=custom_properties.value["name"]
# value - (required) is a type of list of stringvalue=custom_properties.value["value"]
}
}
dynamic"variations" {
for_each=var.variationscontent {
# description - (optional) is a type of stringdescription=variations.value["description"]
# name - (optional) is a type of stringname=variations.value["name"]
# value - (required) is a type of stringvalue=variations.value["value"]
}
}
}