TODO: this needs a refresh
Remote Runs lets you execute Terraform / OpenTofu plan and apply operations in OpenTaco-managed remote environments instead of on your local machine. The changes don’t need to be pushed to the remote repo for this to function since the local directory will be zipped and uploaded to the remote CI environment to perform the plan. Because of execution happens remotely with centralized controls, remote runs enable consistent runtime behavior across your team. Logs are streamed back to your terminal so you keep a CLI-driven workflow while shifting execution off local laptops. This model is similar to HCP Terraform remote execution.Prerequisites:
Create remote unit
To get started with remote runs, create a new unit at https://otaco.app/dashboard/units and choose the “remote” option. Select the version of Terraform / OpenTofu you want to use.
A set of prebuilt sandbox images for specific Terraform / OpenTofu versions exist to speed up sandbox provisioning.The set of images at the time of publishing can be seen HERE.You can use arbitrary versions, but doing so will slow sandbox startup because Terraform / OpenTofu will be install upon startup

Configure cloud block
After creation, use the remote unit in the same way we did for for a local unit.Create a
main.tf:Your cloud block should follow this structure (replace placeholders with your real values from the unit details page https://otaco.app/dashboard/units > View Details):Authenticate with Terraform / Opentofu
If you haven’t already, 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.
After pasting the token into the cli ou should see a message saying


