terraform-cloud-operator

hashicorp/terraform-cloud-operator/kubernetes

Terraform Module HCL KUBERNETES

Install the Terraform Cloud Operator into your Kubernetes cluster

Install
module "terraform-cloud-operator" {
source = "hashicorp/terraform-cloud-operator/kubernetes"
version = "0.0.2"
}
plain text: /constructs/tfmod-hashicorp-terraform-cloud-operator-kubernetes/install.txt
⭐ Source on GitHub 📦 Registry page
README

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

Inputs (11)
NameTypeDescriptionDefault
operator_namespacestringThe namespace in which to install the operator and monitor for Workspaces. required
tfe_addressstringDenotes the address in the form of https://tfe.local for a Terraform Enterprise "https://app.terraform.io"
log_levelstringWARNING: use only on terraform-k8s versions > 1.0.0. Configure optional flag to "null"
create_namespaceboolBy default, the module will create a namespace in which to install the operator.true
terraform_versionstringDescribes the version of Terraform to use for each workspace. If this is not set"latest"
insecureboolIf true it disables certificate validation for all outbound HTTPS connection thefalse
create_secretsboolBy default, the module will create two secrets named terraformrc and workspacesetrue
k8_watch_namespacestringThe Kubernetes namespace to watch for workspace changes and sync to Terraform Cl"null"
image_k8sstringThe name (and tag) of the terraform-k8s Docker image that is used for functional"hashicorp/terraform-k8s:1.0.0"
terraform_credentials_pathstringSpecify the relative path to the file that contains your Terraform Cloud Team AP"credentials"
workspace_secretsmap(string)Add sensitive variables, such as your cloud provider credentials, to the workspa{}
Outputs (1)
deployment_name — https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/deployment#name
Resources (9)
kubernetes_cluster_rolekubernetes_cluster_role_bindingkubernetes_deploymentkubernetes_manifestkubernetes_namespacekubernetes_rolekubernetes_role_bindingkubernetes_secretkubernetes_service_account
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.2
Cloud KUBERNETES
★ Stars3
Forks4
Total downloads5.5k
Inputs11
Outputs1
Resources9
LicenseMPL-2.0
Namespacehashicorp
Updated