Error: “no organization ancestor for (project name)”

Environment Details

When connecting GCP, the following error is received - "ERROR: no organization ancestor for (project name)"

Cause

In order for the Vanta integration to work successfully, projects must exist within an organization. Projects without a parent organization are currently not supported by the Vanta integration. To check if your project exists within an organization, follow these steps:

1. Navigate to the Google Cloud console and select the project selector drop-down on the top left. Find "Manage Resources" from the menu button in the modal that appears:

GCPorgResources.png

2. On the Manage Resources page, you will be able to more clearly see all GCP projects. If you do not see the organizations icon (a building) as a parent for your projects, this means that the projects do not currently sit within an organization. See a valid setup for Vanta below:

GCPmanageResources.png

 

Resolution

  1. If projects are not within an organization, first create the organization.
  2. Next, migrate your projects into the organization.

Additional Resources

Updated