Registry
link on the side navigation bar:

Authorization
When running private modules or providers, Terraform will have to authorize you to ensure you have read access to them. When deploying through env zero, we will take care of this authorization for you.Local Usage
If youโd like to run Terraform code that uses a private registry, you will need to supply the authentication details to Terraform. These must be supplied in a file calledterraform.rc
(for Windows) or ~/.terraformrc
(other systems).
Manually setting the token
Option 1 - Terraform rc file
You can use an API Key (obtained from your organizationโs Settings page). The API key must be entered into the terraform rc file like this:The .terraformrc file must be stored in the home directory (~/)
Option 2 - TF_TOKEN_api_env0_com
This setting is only supported for Terraform Version 1.2+
TF_TOKEN_api_env0_com
. You can retrieve the encoded token when you create a new API key, or you can generate and assign the API with the following example. See: Terraform - Environment Variable Credentials
Terragrunt Authentication
When using Terragrunt, you will also need to set theTG_TF_REGISTRY_TOKEN
environment variable to the encoded authentication value: