Introduction
HCP Terraform / Terraform Enterprise (TFE) will not show a new version of a private module when there is an error publishing the module. This can be due to VCS issues or the private module registry not functioning properly, but it can also be due to a validation error in the Terraform configuration.
Expected Outcome
Identify the error that prevented module version publish success.
Use Case
Procedure
To check the reason for publish failure of the latest version of the module, navigate to the following link:
https://app.terraform.io/app/<Organization>/registry/modules/private/<Organization>/<module name>/<provider>/status
Substitute the <Organization>, <module name> and <provider> with the values specific to your organization. For TFE, substitute "app.terraform.io" with the TFE hostname.
This link can also be reached by navigating to the module in the registry and appending "status" to the end of the url in the address bar of the browser.
This will lead you to a page similar to this:
There the full error message can be observed that will help resolve the problem with the version publish.