//Sample 1
resource "highbond_collection" "main" {
name = "Collection Name"
}
resource "highbond_analysis" "main" {
name = "Analysis Name"
collection_id = highbond_collection.main.id
}
data "highbond_analysis" "example" {
name = highbond_analysis.main.name
collection_id = highbond_collection.main.id
}
//Sample 2
data "highbond_collection" "example" {
name = "example"
}
data "highbond_analysis" "example" {
name = highbond_analysis.main.name
collection_id = data.highbond_collection.example.collection[0].id
}
// We can access this datasource value as below: data.highbond_analysis.example.analyses[0].id
collection_id
(Number) The ID of the Collection.name
(String) The name of the analysis.analyses
(List of Object) List of Analysis (see below for nested schema)id
(String) The ID of this resource.is_available
(Boolean)analyses
Read-Only:
collection_id
(String)created_at
(String)description
(String)id
(String)name
(String)updated_at
(String)