/terraform-kubernetes-helpusersvote

Terraform module to run Help Users Vote on Kubernetes

Primary LanguageHCLApache License 2.0Apache-2.0

Running Help Users Vote on Kubernetes using Terraform

Deploy

Currently, only Google Kubernetes Engine (GKE) is supported but other providers are planned in the future.

Google

  • Configure Terraform for Google Cloud Provider using these instructions. This should look like this if using fixed credentials: main.tf
module "huv-cluster" {
  source = "github.com/helpusersvote/terraform-kubernetes-helpusersvote"
  gcloud_creds = "${file("project-hash-qk9304fwe0.json")}"
  
  // other variables
}
  • Follow generic instructions to complete.

Generic

  • Setup providers with terraform init.

  • Deploy Kubernetes cluster running Help Users Vote with terraform apply.

Development

  • Contributions should be formatted with hclfmt. Run ./hack/setup-githooks.sh to check pre-commit.