tofu login and cloud block usage.
Prerequisite: Set up your OpenTaco account.
Create first unit
In OpenTaco, a unit is a single managed state backend (workspace) for one root module/environment combination.Create your first unit from the UI, give it a name, and click create.
Configure cloud block
Start with a minimal root module to verify state management end to end before wiring your full infrastructure code.Create
main.tf:Your cloud block should follow this structure (replace placeholders with your real values from the unit details page):Authenticate with Opentofu
Using the cli you can run the following command to authenticate:You will have to confirm and will then be redirected to a token generation page. This page
will allow you to generate a token and you can copy paste it back into the cli. You should see a message saying
Next steps
- If you want to use remote execution, continue with Remote Runs (Beta).
- Otherwise, continue with PR Automation onboarding.

