Skip to content

Latest commit

 

History

History
90 lines (69 loc) · 2.47 KB

File metadata and controls

90 lines (69 loc) · 2.47 KB
page_title subcategory description
epilot-schema_schema_group Resource - terraform-provider-epilot-schema
SchemaGroup Resource

epilot-schema_schema_group (Resource)

SchemaGroup Resource

Example Usage

resource "epilot-schema_schema_group" "my_schemagroup" {
  expanded     = false
  feature_flag = "FF_MY_FEATURE_FLAG"
  id           = "e18a532b-ae79-4d86-a6a5-e5dbfb579d14"
  info_tooltip_title = {
    default = "...my_default..."
    key     = "...my_key..."
  }
  label = "Contact Details"
  manifest = [
    "123e4567-e89b-12d3-a456-426614174000"
  ]
  order = 8
  purpose = [
    "taxonomy-slug:classification-slug"
  ]
  render_condition = "_is_composite_price = \"false\""
  schema           = "contact"
  settings_flag = [
    {
      enabled = true
      name    = "...my_name..."
    }
  ]
}

Schema

Required

  • label (String)

Optional

  • expanded (Boolean) Expanded by default. Default: false
  • feature_flag (String) This group should only be active when the feature flag is enabled
  • info_tooltip_title (Attributes) (see below for nested schema)
  • manifest (List of String) Manifest ID used to create/update the schema group
  • order (Number) Render order of the group. Default: 0
  • purpose (List of String) Only render group when one of the purposes is enabled
  • render_condition (String) Only render group when render_condition resolves to true
  • schema (String) Schema slug the group belongs to
  • settings_flag (Attributes List) This group should only be active when all the settings have the correct value (see below for nested schema)

Read-Only

  • composite_id (String) Schema Slug and the Group ID
  • id (String) The ID of this resource.

Nested Schema for info_tooltip_title

Optional:

  • default (String) Default string for info tooltip
  • key (String) Translation key for info tooltip

Nested Schema for settings_flag

Optional:

  • enabled (Boolean) Whether the setting should be enabled or not
  • name (String) The name of the organization setting to check

Import

Import is supported using the following syntax:

terraform import epilot-schema_schema_group.my_epilot-schema_schema_group "contact:97644baa-083f-4e49-9188-fcff2ecaad7d"