Skip to main content

Propel Terraform Provider

The Propel Serverless ClickHouse Terraform provider interacts with Propel resources, including Data Sources, Data Pools, and Metrics. You need to configure the provider with the proper Application credentials (ID and secret) to get started.

📄 Check out the documentation.

🏗 Examples can be found in examples repo and in our advanced examples section.

❓ Questions? Feel free to create a new issue in the GitHub repository.

🔧 Want to contribute? Check out CONTRIBUTING.md.

Using the provider

terraform {
required_providers {
propel = {
source = "propeldata/propel"
version = "~> 1.3.2"
}
}
}

variable "propel_application_secret" {
type = string
sensitive = true
}

provider "propel" {
client_id = "APP00000000000000000000000000"
client_secret = var.propel_application_secret
}

Schema

Required

  • client_id (String) Your Propel Application's ID.
  • client_secret (String, Sensitive) Your Propel Application's secret.

Optional

  • api_url (String) The Propel API URL
  • oauth_url (String) The Propel OAuth URL

We recommend you set your Propel Application's secret via the TF_VAR_propel_application_secret environment variable.