Prerequisites
To follow the steps on this page:- Create a target with the Real-time analytics capability enabled. You need your connection details. This procedure also works for .
- Download and install Terraform.
Configure Terraform
Configure Terraform based on your deployment type:You use the Terraform provider to manage s:
-
Generate client credentials for programmatic use
-
In , click
Projectsand save yourProject ID, then clickProject settings. -
Click
Create credentials, then savePublic keyandSecret key.
-
In , click
-
Configure the Terraform provider
-
Create a
main.tfconfiguration file with at least the following content. Changex.y.zto the latest version of the provider. -
Create a
terraform.tfvarsfile in the same directory as yourmain.tfto pass in the variable values:
-
Create a
-
Add your resources
Add your s or connections to the
main.tfconfiguration file. For example: