https://github.com/spacelift-io/terraform-google-spacelift-workerpool
Terraform module deploying a Spacelift worker pool on GCP Compute Engine using an Instance Group Manager
https://github.com/spacelift-io/terraform-google-spacelift-workerpool
Last synced: 2 months ago
JSON representation
Terraform module deploying a Spacelift worker pool on GCP Compute Engine using an Instance Group Manager
- Host: GitHub
- URL: https://github.com/spacelift-io/terraform-google-spacelift-workerpool
- Owner: spacelift-io
- License: mit
- Created: 2021-10-13T14:32:56.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-24T09:11:29.000Z (11 months ago)
- Last Synced: 2025-04-05T17:13:16.199Z (2 months ago)
- Language: HCL
- Homepage:
- Size: 32.2 KB
- Stars: 1
- Watchers: 14
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# terraform-google-spacelift-workerpool
Terraform module deploying a Spacelift worker pool on Google Cloud Platform using an Instance Group Manager.
## Usage
```terraform
terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.14.0"
}
}
}module "my_workerpool" {
source = "github.com/spacelift-io/terraform-google-spacelift-workerpool?ref=v1.2.0"configuration = <<-EOT
export SPACELIFT_TOKEN="${var.worker_pool_config}"
export SPACELIFT_POOL_PRIVATE_KEY="${var.worker_pool_private_key}"
EOTimage = "projects/spacelift-workers/global/images/spacelift-worker-us-1634112379-tmoys2fp"
network = "default"
region = "us-central1"
zone = "us-central1-a"
size = 2
email = "[email protected]"
providers = {
google = google
}
}
```## Default Image
The default Image used by this module comes from the [spacelift-worker-image](https://github.com/spacelift-io/spacelift-worker-image)
repository. You can find the full list of AMIs on the [releases](https://github.com/spacelift-io/spacelift-worker-image/releases)
page.