Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.53 KB

File metadata and controls

58 lines (40 loc) · 1.53 KB
page_title configcat_product Resource - terraform-provider-configcat
subcategory
description Creates and manages a Product. What is a Product in ConfigCat? https://configcat.com/docs/main-concepts

configcat_product (Resource)

Creates and manages a Product. What is a Product in ConfigCat?

Example Usage

variable "organization_id" {
  type = string
}

resource "configcat_product" "my_config" {
  organization_id = var.organization_id
  name            = "My product"
  description     = "My product description"
  order           = 0
}


output "product_id" {
  value = configcat_product.my_product.id
}

Schema

Required

  • name (String) The name of the Product.
  • order (Number) The order of the Product within a Organization (zero-based). If multiple Products has the same order, they are displayed in alphabetical order.
  • organization_id (String) The ID of the Organization.

Optional

  • description (String) The description of the Product.

Read-Only

  • id (String) The unique ID of the Product.

Import

Import is supported using the following syntax:

# Products can be imported using the ProductId. Get the ProductId using the [List Products API](https://api.configcat.com/docs/#tag/Products/operation/get-products) for example.

terraform import configcat_product.example 08d86d63-2726-47cd-8bfc-59608ecb91e2