Logging into Terraform Cloud within a Gitpod workspace can be a bumpy ride. When attempting to use terraform login, the browser-based wiswig view doesn't always generate the token as expected. Fortunately, a workaround exists: manually creating a token in Terraform Cloud. This short note explores the common issues faced in integrating Terraform Cloud login with Gitpod workspaces and provides a practical solution: creating your token in Terraform Cloud.

Terraform cloud architecture
Issues with Terraform Cloud Login and Gitpod Workspace
When attempting to run terraform login it will launch bash a wiswig view to generate a token. However it does not work expected in Gitpod VsCode in the browser.