Access the Terraform Enterprise CLI
Terraform Enterprise provides a command line interface that enables you to change its configuration, stop the application safely, and produce support bundles. Refer to CLI reference for information about the commands available.
Docker
To connect to the Docker container hosting Terraform Enterprise, execute the following command from the server where Terraform Enterprise is running. If you have named your container something other than terraform-enterprise
please replace that with your container name.
$ docker exec -it terraform-enterprise bash
Kubernetes
Complete the following steps to connect to the Kubernetes pod hosting Terraform Enterprise:
Authenticate to the Kubernetes cluster by executing the relevant command.
$ az aks get-credentials --resource-group <resource-group-name> --name <aks-cluster-name>
Retrieve the pod name by executing the following command.
$ kubectl get pods -n <namespace>
Execute the following command to remote into the pod.
$ kubectl exec -n <namespace> -it <pod-name> -- bash