highbond_table (Data Source)

Example Usage

// Sample 1
resource "highbond_analysis" "main" {
  name = "Analysis Name"
}
resource "highbond_table" "name" {
  name = "Table Name"
}
data "highbond_table" "main" {
  table_name  = highbond_table.main.name
  analysis_id = highbond_analysis.main.id
}

// Sample 2
data "highbond_analysis" "main" {
  name = "Analysis Name"
}
resource "highbond_table" "name" {
  name = "Table Name"
}
data "highbond_table" "main" {
  table_name  = highbond_table.main.name
  analysis_id = data.highbond_analysis[0].main.id
}

// We can access this datasource value as below: data.highbond_table.main.tables[0].id

Schema

Required

  • analysis_id (Number) The id of the analysis
  • name (String) The name of the table

Read-Only

  • id (String) The ID of this resource.
  • is_available (Boolean)
  • tables (List of Object) (see below for nested schema)

Nested Schema for tables

Read-Only:

  • created_at (String)
  • data_table_id (Number)
  • description (String)
  • id (String)
  • name (String)
  • questionnaire_id (String)
  • script_name (String)
  • type (String)
  • updated_at (String)