terraform-cloud-operator
hashicorp/terraform-cloud-operator/kubernetes
Install the Terraform Cloud Operator into your Kubernetes cluster
Terraform Cloud Operator Installation Module This Terraform module uses the Kubernetes provider and beta Kubernetes manifest resource to install the Terraform Cloud Operator for Kubernetes. By default, it creates a namespace and two secrets named terraformrc and workspacesecrets. The operator is installed in the provided namespace. Example Usage: `` main.tf provider "kubernetes" { config_path = "~/.kube/config" experiments = { manifest_resource = true } } module "terraform-cloud-operator" { source = "hashicorp/terraform-cloud-operator/kubernetes" version = "0.0.1" operator_namespace = "demo" workspace_secrets = { AWS_ACCESS_KEY_ID = var.aws_access_key_id AWS_SECRET_ACCESS_KEY = var.aws.secret_access_key } } ` This configuration uses the kubeconfig to configure the kubernetes provider, enab
| Name | Type | Description | Default |
|---|---|---|---|
| operator_namespace | string | The namespace in which to install the operator and monitor for Workspaces. | required |
| tfe_address | string | Denotes the address in the form of https://tfe.local for a Terraform Enterprise | "https://app.terraform.io" |
| log_level | string | WARNING: use only on terraform-k8s versions > 1.0.0. Configure optional flag to | "null" |
| create_namespace | bool | By default, the module will create a namespace in which to install the operator. | true |
| terraform_version | string | Describes the version of Terraform to use for each workspace. If this is not set | "latest" |
| insecure | bool | If true it disables certificate validation for all outbound HTTPS connection the | false |
| create_secrets | bool | By default, the module will create two secrets named terraformrc and workspacese | true |
| k8_watch_namespace | string | The Kubernetes namespace to watch for workspace changes and sync to Terraform Cl | "null" |
| image_k8s | string | The name (and tag) of the terraform-k8s Docker image that is used for functional | "hashicorp/terraform-k8s:1.0.0" |
| terraform_credentials_path | string | Specify the relative path to the file that contains your Terraform Cloud Team AP | "credentials" |
| workspace_secrets | map(string) | Add sensitive variables, such as your cloud provider credentials, to the workspa | {} |
deployment_name — https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/deployment#name