Terraform SetupAvailable in v1.19.3+
Overview
ScaleOps provides a Terraform module to integrate with GCP.
Prerequisites
- Terraform 1.10.0 or higher
- GCP project
Usage
Using ScaleOps managed service account
module "scaleops_integration" {
source = "https://scriptshelf.scaleops.com/google/integrate.tf.tar.gz"
project_id = "<PROJECT_ID>"
service_account_email = "<SERVICE_ACCOUNT_EMAIL>"
}Using self-managed service account
module "scaleops_integration" {
source = "https://scriptshelf.scaleops.com/google/integrate.tf.tar.gz"
project_id = "<PROJECT_ID>"
create_service_account = true
}Apply Helm Values
After running the script, apply the provided Helm values to your ScaleOps installation. The configuration will look like this:
cloudNodeIntegration:
google:
enabled: true
# serviceAccountCredentials: <SERVICE_ACCOUNT_CREDENTIALS> # Optional, if using existing service account.For full Helm values reference, see the Advanced Setup.