Skip to main content

ClickHouse

ClickHouse is a fast open-source column-oriented database management system optimized for real-time analytics.

Resources

Service

Create, manage and delete ClickHouse services.

Props

string | Organization
required
The ID, name, or OrganizationRef of ClickHouse cloud organization to create the service in
string
required
The underlying cloud provider to create the service on (e.g., “aws”, “gcp”, “azure”)
string
required
The region to create the service in
string
default:"${app}-${stage}-${id}"
The name of the ClickHouse service to create
string | Secret
The key ID for the ClickHouse API
string | Secret
The secret for the ClickHouse API
array
The IP access list to create the service with
number
default:"8"
The minimum replica memory to create the service with
number
default:"356"
The maximum replica memory to create the service with
number
default:"3"
The number of replicas to create the service with
boolean
default:"true"
Whether to enable idle scaling
number
default:"15"
The timeout minutes for idle scaling
boolean
default:"false"
Whether to make the service readonly
string
default:"default"
The release channel to create the service with
'start' | 'stop'
default:"start"
The desired state of the service
boolean
default:"true"
Whether to enable the MySQL endpoint
boolean
default:"true"
Whether to enable the HTTPS endpoint. Cannot be disabled
boolean
default:"true"
Whether to enable the nativesecure endpoint. Cannot be disabled
boolean
default:"true"
Wait for HTTP service to be ready before marking the resource as created

Returns

string
The ID of ClickHouse cloud organization the service is in
string
The name of the ClickHouse service
string
The ClickHouse ID of the service
Secret
The password for the ClickHouse service
string
The provider of the ClickHouse service
string
The region of the ClickHouse service
array
The IP access list of the ClickHouse service
number
The minimum replica memory of the ClickHouse service
number
The maximum replica memory of the ClickHouse service
number
The number of replicas of the ClickHouse service
boolean
Whether idle scaling is enabled for the ClickHouse service
number
The timeout minutes for idle scaling of the ClickHouse service
object
The MySQL endpoint details of the ClickHouse service
object
The HTTPS endpoint details of the ClickHouse service
object
The nativesecure endpoint details of the ClickHouse service
string
The state of the ClickHouse service