Flagship
FlagshipApps
resource cloudflare_flagship_app
cloudflare_flagship_app
resource "cloudflare_flagship_app" "example_flagship_app" {
account_id = "account_id"
name = "x"
}
data cloudflare_flagship_app
cloudflare_flagship_app
data "cloudflare_flagship_app" "example_flagship_app" {
account_id = "account_id"
app_id = "app_id"
}
FlagshipAppsFlags
resource cloudflare_flagship_flag
required
optional
cloudflare_flagship_flag
resource "cloudflare_flagship_flag" "example_flagship_flag" {
account_id = "account_id"
app_id = "app_id"
default_variation = "x"
enabled = true
key = "x"
rules = [{
conditions = [{
attribute = "x"
operator = "equals"
value = {
}
}]
priority = 1
serve_variation = "x"
rollout = {
percentage = 0
attribute = "x"
}
}]
variations = {
foo = "string"
}
description = "description"
type = "boolean"
}
data cloudflare_flagship_flag
required
computed
default_variation: String
Variation served when no rule matches or the flag is disabled. Must be a key in variations.
type: String
Value type of the flag’s variations. Inferred from the variation values on write, so it may be omitted in requests.
cloudflare_flagship_flag
data "cloudflare_flagship_flag" "example_flagship_flag" {
account_id = "account_id"
app_id = "app_id"
flag_key = "flag_key"
}
data cloudflare_flagship_flags
optional
cloudflare_flagship_flags
data "cloudflare_flagship_flags" "example_flagship_flags" {
account_id = "account_id"
app_id = "app_id"
limit = "limit"
}