https://github.com/nthings/terraform-rancher-gcp-nodes-example
Quick reference project to deploy worker nodes for Rancher in GCP
https://github.com/nthings/terraform-rancher-gcp-nodes-example
Last synced: 3 months ago
JSON representation
Quick reference project to deploy worker nodes for Rancher in GCP
- Host: GitHub
- URL: https://github.com/nthings/terraform-rancher-gcp-nodes-example
- Owner: nthings
- License: mit
- Created: 2019-10-31T18:21:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-31T19:26:46.000Z (over 6 years ago)
- Last Synced: 2025-10-26T07:05:44.989Z (9 months ago)
- Language: HCL
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform-Rancher-GCP-Nodes-Example
Terraform configuration for quickly standup k8s workers in an existing Rancher Server.
I used this for a quick hello world.
# Set Up
1.- Put `credentials.json` GCP file in root of the project.
2.- I create a variables.conf file in project source and put this values:
```
export TF_VAR_token=""
export TF_VAR_checksum=""
export TF_VAR_address=""
export TF_VAR_gcp_project=""
export TF_VAR_gcp_region="us-west1"
export TF_VAR_nodes=2
```
You can create also a `terraform.tfvars` for this :)