Skip to main content
Terraform is an infrastructure-as-code tool that enables you to safely and predictably provision and manage infrastructure. This page explains how to configure Terraform to manage your or .

Prerequisites

To follow the steps on this page:
  • Create a target with Real-time analytics enabled.

    You need your connection details. This procedure also works for .

Configure Terraform

Configure Terraform based on your deployment type:
You use the Terraform provider to manage s:
  1. Generate client credentials
  2. Configure Terraform provider
    1. Create a main.tf configuration file with at least the following content. Change x.y.z to the latest version of the provider.
    2. Create a terraform.tfvars file in the same directory as your main.tf to pass in the variable values:
  3. Add your resources Add your s or connections to the main.tf configuration file. For example:
You can now manage your resources with Terraform. See more about available resources and data sources.