The DataSet Terraform Provider allows you to provision assets within DataSet.
git clone [email protected]:scalyr/terraform-provider-dataset
go build
mkdir -p ~/.terraform.d/plugins
cp terraform-provider-dataset ~/.terraform.d/plugins/
Different tokens are required for different resources. Having a write_config_token
and a write_log_token
will allow every resource.
endpoint
(String) DataSet Serverread_config_token
(String) DataSet ReadConfig API Tokenread_log_token
(String) DataSet ReadLog API Tokenwrite_config_token
(String) DataSet WriteConfig API Tokenwrite_log_token
(String) DataSet WriteLog API Token
You can also utilize the following environment variables:
DATASET_SERVER
(String) DataSet Endpoint/ServerDATASET_READCONFIG_TOKEN
(String) DataSet ReadConfig API TokenDATASET_READLOG_TOKEN
(String) DataSet ReadLog API TokenDATASET_WRITECONFIG_TOKEN
(String) DataSet WriteConfig API TokenDATASET_WRITELOG_TOKEN
(String) DataSet WriteLog API Token
Create a DataSet Configuration file.
content
(String)path
(String)
create_date
(String)id
(String) The ID of this resource.mod_date
(String)version
(Number)
Send an event to DataSet
attributes
(Map of String)message
(String)parser
(String)
id
(String) The ID of this resource.
Read contents of a DataSet Configuration.
path
(String)
content
(String)create_date
(String)id
(String) The ID of this resource.mod_date
(String)version
(Number)
Perform a query and assert on results.
query
(String)
end_time
(String)expected_count
(Number)max_count
(Number)query_type
(String)retry_count
(Number)retry_wait
(Number)start_time
(String)
id
(String) The ID of this resource.results
(List of Map of String)
Read all teams available to the configured token.
id
(String) The ID of this resource.teams
(Set of String)
Available in examples