Skip to content

devzero-inc/terraform-devzero-cluster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform module for adding a cluster to your devzero account

Website

Docs

Using the module

A module to add a cluster to your devzero account

Requires devzero-inc/devzero and hashicorp/helm

provider "devzero" {
    team_id = "YOUR_TEAM_ID"
    token = "YOUR_PAT"
}

module "devzero-cluster" {
    source = "devzero-inc/cluster"

    cluster_name = "example-cluster"
}

Requirements

Name Version
terraform >= 1.1.0
devzero >= 0.1.1
helm >= 3.0.2

Providers

Name Version
devzero 0.1.1
helm 3.0.2

Modules

No modules.

Resources

Name Type
devzero_cluster.cluster resource
helm_release.devzero_operator resource
helm_release.zxporter resource

Inputs

Name Description Type Default Required
cloud_provider The cloud provider of the cluster. Supported values: aws, azure, gcp, "". Empty string will be treated as no cloud credentials are required. string "" no
cluster_name The name of the cluster string n/a yes
containerd_config_path The path to the containerd config string null no
containerd_socket_path The path to the containerd socket string null no
enable_live_migration_agent Whether to enable the live migration agent bool false no
enable_scheduler Whether to enable the scheduler bool true no
endpoint The endpoint of the control plane string "https://dakr.devzero.io" no
operator_extra_values Additional Helm values for the devzero-operator chart (as name->value).
list(object({
name = string
value = string
}))
[] no
provision_prometheus Whether to provision prometheus bool true no
runtime The runtime of the cluster. Supported values: containerd, rke2, k3s. string "containerd" no
zxporter_extra_values Additional Helm values for the zxporter chart (as name->value).
list(object({
name = string
value = string
}))
[] no

Outputs

Name Description
cluster_id n/a
cluster_token n/a

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •