consul-ent-k8s

hashicorp/consul-ent-k8s/gcp

Terraform Module HCL GCP

A Terraform Module for provisioning an Enterprise Consul cluster on GKE as described by HashiCorp reference architecture.

Install
module "consul-ent-k8s" {
source = "hashicorp/consul-ent-k8s/gcp"
version = "0.1.0"
}
plain text: /constructs/tfmod-hashicorp-consul-ent-k8s-gcp/install.txt
⭐ Source on GitHub 📦 Registry page
README

Consul Enterprise on GKE Module This is a Terraform module for provisioning two federated Consul Enterprise clusters on GKE using Consul version 1.11.15+. How to Use This Module - Ensure your GCP credentials are configured correctly and have permission to use the following GCP services: - Kubernetes Engine API - Secret Manager API - Install kubectl (this will be used to verify Consul cluster federation status). - To update the kubeconfig context with your current cluster, run: ``shell $ gcloud container clusters get-credentials CLUSTER_NAME ` - This module assumes you have an existing VPC and two existing GKE clusters, as well as a GCP secrets manager available for storing Consul federation secrets. If you do not, you may use the following quickstart to deploy these resources. - If you wou

Inputs (13)
NameTypeDescriptionDefault
cluster_namestringKubernetes cluster name on which to install Consul required
consul_licensestringPath to your Consul license file required
federation_secret_idstringSecret id/name given to the google secrets manager secret for the Consul federat required
cluster_locationstringKubernetes cluster region required
primary_datacenterboolIf true, installs Consul with a primary datacenter configuration. Set to false f required
kubernetes_namespacestringThe namespace to install the release into"consul"
server_replicasnumberThe number of Consul server replicas5
consul_versionstringVersion of Consul Enterprise to install"1.11.5"
create_namespaceboolCreate the k8s namespace if it does not yet existtrue
chart_namestringChart name to be installed"consul"
chart_repositorystringRepository URL where to locate the requested chart"https://helm.releases.hashicorp.com"
consul_helm_chart_versionstringVersion of Consul helm chart"0.41.0"
release_namestringThe helm release name"consul-release"
Resources (1)
kubernetes_namespace
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.0
Cloud GCP
★ Stars2
Forks0
Total downloads3.7k
Inputs13
Resources1
Examples5
Submodules1
LicenseMPL-2.0
Namespacehashicorp
Updated