K3S Docker Terraform Module

The k3s/docker Terraform module provides a way to install and configure:

Requirements

Name Version

>= 0.13

2.11.0

2.0.2

2.0.2

2.0.0

3.0.0

3.0.0

tls

3.0.0

Providers

Name Version

3.0.0

tls

3.0.0

Modules

Name Source Version

camptocamp/k3s/docker

Inputs

Name Description Type Default Required

App of apps values overrides.

string

""

no

ArgoCD Server Secert Key to avoid regenerate token on redeploy.

string

null

no

The name of the Kubernetes cluster to create.

string

n/a

yes

Whether to enable minio object storage system

bool

true

no

Extra applications to deploy.

list(any)

[]

no

The admin password for Grafana.

string

null

no

The K3s version to use

string

"v1.18.15-k3s1"

no

Number of nodes to deploy

number

2

no

OIDC configuration for core applications.

object({
    issuer_url              = string
    oauth_url               = string
    token_url               = string
    api_url                 = string
    client_id               = string
    client_secret           = string
    oauth2_proxy_extra_args = list(string)
  })

null

no

The source repo URL of ArgoCD’s app of apps.

string

"https://github.com/camptocamp/devops-stack.git"

no

The source target revision of ArgoCD’s app of apps.

string

"master"

no

Outputs

Name Description

n/a

n/a

The token to set in ARGOCD_AUTH_TOKEN environment variable.

The URL of the ArgoCD server.

n/a

The admin password for Grafana.

The content of the KUBECONFIG file.

n/a

n/a

n/a

n/a

n/a

n/a