Problem
A module published to the HCP Terraform private module registry may become permanently stuck in a pending state. In the UI, the module shows a "pending" status.
When you select the module, the details screen also indicates the pending ingress status.
Cause
This issue typically occurs when a module does not meet all module publishing requirements.
Solution
To resolve this issue, you must delete the pending module from the registry. You can then correct any issues with the module's repository and attempt to publish it again.
- Navigate to the private module registry in the HCP Terraform UI.
-
Click the pending button next to the module you want to delete.
-
This action navigates you to a status page with a URL similar to this example:
https://app.terraform.io/app/<ORGANIZATION_NAME>/registry/modules/private/<NAMESPACE>/<MODULE_NAME>/<PROVIDER>/status
-
Select the Delete module button to permanently remove the module from the private module registry.