Terraform
Access the Terraform Enterprise command line
Terraform Enterprise provides CLI commands via tfectl
to change its configuration, stop the application safely, and produce support bundles.
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.
Authentication 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