Skip to main content

conveyor_tag (Resource)

Provides a Conveyor tag.

Example Usage

resource "conveyor_tag" "test" {
name = "my_tag"
description = "some tag description"
color = "blue"
}

Schema

Required

  • color (String) The color of the tag. Should be one of: blue, cyan, geekblue, gold, green, lime, magenta, orange, purple, red, volcano.
  • description (String) The description of the tag.
  • name (String) The name of the tag (max 24 characters).

Read-Only

  • id (String) The id of the tag.

Import

Import is supported using the following syntax:

export TAG_ID=$(conveyor tag get --name my_tag -ojson | jq -r ".id")
terraform import conveyor_tag.my_tag "$TAG_ID"