Problem
Failed to create new Workspace
Error creating Workspace repository doesn’t exist or isn’t accessible
From TFE logs error
2023-02-15 06:58:14 [ERROR] [1784f4ae-cb02-4c35-8018-956aeb70efc8] msg=There was an error creating the workspace invalid_object=#<Vcs::Repo:0x00007fef5c0b8008> error=The specified repository "Org-name/tesstrepo" doesn't exist or isn't accessible.
- vcs connection will be created normally
Prerequisites
- Ensure Github user has admin access to repo
Cause
- IP filtering on Level of organization in Github can be a blocker
- Other organization on same TFE instances might be working fine
Solutions:
- Github admins need to give access to TFE IP on organization level one by one if IP filter is enabled
Additional Information
-
Can refer to managing allowed IPs on github
- VCS troubleshooting