Provides a Honeycomb Column resource. This can be used to create, update, and delete columns in a dataset.
variable "dataset" {
type = string
}
resource "honeycombio_column" "duration_ms" {
name = "duration_ms_log10"
type = "float"
description = "Duration of the trace"
dataset = var.dataset
}
The following arguments are supported:
dataset
- (Required) The dataset this column is added to.name
- (Required) The name of the column. Must be unique per dataset.key_name
- (Deprecated) Please use name
instead. The name of the column. Must be unique per dataset. Conficts with name
.type
- (Optional) The type of the column, allowed values are string
, float
, integer
and boolean
. Defaults to string
.hidden
- (Optional) Whether this column should be hidden in the query builder and sample data. Defaults to false.description
- (Optional) A description that is shown in the UI.In addition to all arguments above, the following attributes are exported:
id
- ID of the column.created_at
- ISO8601 formatted time the column was createdupdated_at
- ISO8601 formatted time the column was updatedlast_written_at
- ISO8601 formatted time the column was last written to (received event data)Columns can be imported using a combination of the dataset name and their name, e.g.
$ terraform import honeycombio_column.my_column my-dataset/duration_ms