I am trying to automate the deployment of Apigee API Proxies using CI/CD pipeline.
I have the cloudbuild.yaml and the proxy code on a GitLab repository, and I connected the repository with my GCP Cloud Build.
When I try to run the Cloud Build Trigger I receive this error message: “Permission denied for all resources”. with no extra logs just as in the below screenshot.
I have the necessary permissions to run the pipeline, I have done it successfully on a previous POC environment, but now it is failing when I migrated it to the new GCP environment.
I actually fixed the first problem, I had to navigate into the proper working directory in my cloudbuild.yaml, but then I had this another issue: “message”: “generic::not_found: cannot create resource organizations/apigee-project/apis/apigee-proxy; parent not found”
Double-check that the apigee-project is a valid and existing resource in the organizations. The path might need to reflect either a specific organization ID or project ID, depending on the configuration.
Ensure that the Apigee API is enabled in your project.
“apigee-project” is our GCP project and it is under “No organization”, I am not sure if that is related to the problem, but there are many proxies that are deployed in this GCP project manually not using the pipeline.