Problem
When using theĀ /organizations/:organization_name/registry-modules
endpoint, the following error is shown
"errors": [
{
"status": "404",
"title": "not found"
}
Cause
- Terraform Enterprise is running on a version prior to 202106-1
- The modules are not found or the user unauthorized to perform action
Solutions:
-
Upgrade to Terraform Enterprise version 202106-1 or newer
-
If running at the correct software version, ensure that the modules exist and the designated user has the correct permissions
Additional Information
-
202106-1 release notes [link](https://github.com/hashicorp/terraform-enterprise-release-notes/blob/master/v202106-1.md)
- Module API documentation [link](https://www.terraform.io/docs/cloud/api/modules.html#list-registry-modules-for-an-organization)
- User Permission documentation [link](https://www.terraform.io/docs/cloud/users-teams-organizations/permissions.html)