The Terraform provider enables you to manage Propel resources such as Data Sources, Data Pools, and Metrics using Infrastructure as Code.

Provider configuration

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.