cluster

JamesWoolfenden/cluster/gcp

Terraform Module HCL GCP

Set up a GKE cluster connected as part of shared VPC

Install
module "cluster" {
source = "JamesWoolfenden/cluster/gcp"
version = "0.0.38"
}
plain text: /constructs/tfmod-jameswoolfenden-cluster-gcp/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-gcp-cluster ![Build Status](https://github.com/JamesWoolfenden/terraform-gcp-cluster) ![Latest Release](https://github.com/JamesWoolfenden/terraform-gcp-cluster/releases/latest) ![pre-commit](https://github.com/pre-commit/pre-commit) ![checkov](https://www.checkov.io/) A lightweight GKE cluster module. ``terraform module "cluster" { source = "JamesWoolfenden/cluster/gcp" ip_allocation_policy = var.ip_allocation_policy location = var.location master_authorized_network_cidr = module.ip.cidr name = var.name network = var.network network_project = var.network_project node_pool = var.node_pool private_cluster_config = var.private_cluster_config region = var.region subnetwork = var.subnetwork network_policy_config_disabled = var.network_policy_config_disabled } ` Connecting: `bash gclo

Inputs (21)
NameTypeDescriptionDefault
projectstringThe GCP project of the Network the cluster is in required
master_authorized_network_cidrstringThe range of IPs that can connect to the Kubernetes master required
regionstringThe GCP region required
ip_allocation_policymap(any)Values to fill the cluster ip_allocation_policy block required
private_cluster_configmap(any)Values to fill the cluster private_cluster_config block required
networkstringThe VPC required
subnetworkstringThe name of the sub-net to use required
key_namestringChanging key name as keys and key rings are undeletable required
locationstring required
zonesstring required
namestringThe Name of the cluster required
kubernetes_dashboard_disabledboolSwitch on the Dashboardfalse
node_poolmap(any)Configuration of the Node hosts{ "auto_repair": "true", "auto_upgra
pod_security_policy_config_enabledbooltrue
network_policyboolTo enable the network policytrue
resource_labelsmap(any){ "createdby": "terraform", "module"
maintenance_windowstring"00:30"
auto_upgradebooltrue
http_load_balancing_disabledboolDisable Http Load balancingfalse
network_policy_config_disabledboolToggle network policyfalse
release_channelstringSet the release channel UNSPECIFIED|RAPID|REGULAR|STABLE"STABLE"
Outputs (1)
service_account
Resources (3)
google_container_clustergoogle_container_node_poolgoogle_service_account
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.38
Cloud GCP
Total downloads5.7k
Inputs21
Outputs1
Resources3
NamespaceJamesWoolfenden
Updated