» skytap_label_category

Provides a Skytap label category resource. Label categories provide a taxonomy of the usa reporting, once the label category is define it can be use to label resources. There are restrictions for the use of labels for example:

  • An account can have a maximum of 100 active categories.
  • An account can have a maximum combined total active and inactive (deleted) 200 categories.

» Example Usage

# Create a new label_category
resource "label_category" "env" {
  name = "environment"
  single_value = true
}

» Argument Reference

The following arguments are supported:

  • name - (Required) User-defined label category name.
  • single_value - (Required) With single value labels can have only one value for a category, with false labels can have multiple values.

» Timeouts

The timeouts block allows you to specify timeouts for certain operations:

  • create - (Defaults to 10 mins) Used when creating the category
  • update - (Defaults to 10 mins) Used when updating the category
  • delete - (Defaults to 10 mins) Used when destroying the category

» Attributes Reference

The following attributes are exported:

  • id: The ID of the label category.