Basic Cloud Scanner Example
This example demonstrates a basic deployment of the Upwind Cloud Scanner module with minimal configuration.
Single Cloud Scanner instance group
Default VPC network configuration
Standard machine type and disk configuration
IAP SSH access enabled
Automatic scaling disabled (fixed size: 1)
Set your required variables:
export TF_VAR_upwind_organization_id=" org_your_org_id"
export TF_VAR_scanner_id=" ucsc-your-scanner-id"
export TF_VAR_cloudscanner_sa_email=" cloudscanner-sa@your-project.iam.gserviceaccount.com"
export TF_VAR_cloudscanner_scaler_sa_email=" cloudscanner-scaler-sa@your-project.iam.gserviceaccount.com"
export TF_VAR_upwind_orchestrator_project=" your-google-cloud-project-id"
Initialize and apply:
terraform init
terraform plan
terraform apply
Service accounts must be pre-created with appropriate permissions
Secret Manager secrets must contain the scanner credentials
Required IAM roles must be created for the service accounts
Cloud Scanner instance group manager (1 instance)
Instance templates with blue/green deployment support
Cloud Run scaler function
Cloud Scheduler job for periodic scaling
Default VPC network and subnet (if custom network not specified)
Cloud NAT for outbound internet access
This configuration is suitable for development and testing environments.
No providers.
No resources.
No providers.
No resources.