The honeycombio_column
data source retrieves the details of a single column in a dataset.
variable "dataset" {
type = string
}
# Retrieve the details of a single column
data "honeycombio_column" "mycol" {
dataset = var.dataset
name = "mycol"
}
The following arguments are supported:
dataset
- (Required) The dataset this column is associated withname
- (Required) The name of the columnIn addition to all arguments above, the following attributes are exported:
type
- the type of the column (string, integer, float, or boolean)description
- the description of the columnhidden
- whether or not the column is hidden from the query builder and resultslast_written_at
- the ISO8601 formatted time that the column last received datacreated_at
- the ISO8601 formatted time when the column was createdupdated_at
- the ISO8601 formatted time when the column's metadata (type, description, etc) was last changed