| 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 |
Creates and manages a Product. What is a Product in ConfigCat?
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
}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.
description(String) The description of the Product.
id(String) The unique ID of the Product.
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