https://github.com/ctrlplanedev/terraform-google-ctrlplane
A Terraform module for deploying Ctrlplane on GCP.
https://github.com/ctrlplanedev/terraform-google-ctrlplane
Last synced: 17 days ago
JSON representation
A Terraform module for deploying Ctrlplane on GCP.
- Host: GitHub
- URL: https://github.com/ctrlplanedev/terraform-google-ctrlplane
- Owner: ctrlplanedev
- License: other
- Created: 2024-08-24T21:00:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-10-23T18:16:56.000Z (3 months ago)
- Last Synced: 2025-10-23T20:26:57.506Z (3 months ago)
- Language: HCL
- Homepage: https://ctrlplane.dev/
- Size: 111 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# terraform-google-ctrlplane
This module creates a reslient and fault tolerant Ctrlplane installation using
Google Kubernetes Engine (GKE) as the computing environment and the following
services for storing data:
- CloudSQL for PostgreSQL
- Memorystore for Redis
- Cloud Storage
## Compatibility
This module is meant for use with Terraform 1.0+ and tested using Terraform
1.6.
## Usage
There are examples included in the examples folder but simple usage is as
follows:
```hcl
module "ctrlplane" {
source = "ctrlplanedev/ctrlplane/google"
namespace = "ctrlplane"
domains = [""]
}
```
Then perform the following commands on the root folder:
1. `terraform init` to get the plugins
2. `terraform plan` to see the infrastructure plan
3. `terraform apply` to apply the infrastructure build
4. `terraform destroy` to destroy the built infrastructure
## Install
**Terraform**
Be sure you have the correct Terraform version, you can choose the binary here:
- https://releases.hashicorp.com/terraform/
## File structure
The project has the following folders and files:
- `/`: root folder
- `/examples`: examples for using this module
- `/helpers`: Helper scripts
- `/test`: Folders with files for testing the module (see Testing section on
this file)
- `/main.tf`: main file for this module, contains all the resources to create
- `/variables.tf`: all the variables for the module
- `/output.tf`: the outputs of the module
- `/README.md`: this file