Title: AI Studio-managed Cloud Run project — missing deployment permissions and unable to update existing service

I created an audiobook application using Google AI Studio Build and published it through the AI Studio publishing workflow.

The Cloud Run service was automatically created in project intrepid-aquifer-p83d0.

My Google account has Cloud Run Viewer but does not have run.services.update or resourcemanager.projects.setIamPolicy.

The IAM page shows Google-managed service accounts, but no other human Owner or Editor. The Fix Access workflow only offers Project IAM Admin, Organization Administrator and Security Admin.

The application initially failed to start because the generated server.js used CommonJS require() while package.json specifies "type": "module".

This has now been corrected:

  • The build script includes --format=esm.

  • A fresh production build completed successfully.

  • Local runtime testing succeeded.

However, the corrected build has not reached Cloud Run because the publishing workflow cannot update the existing service.

Could the Google AI Studio team please clarify:

  1. Is this project a Google-managed Starter Tier project?

  2. How can the account owner obtain the minimum deployment permissions for the existing Cloud Run service?

  3. Can AI Studio’s publishing workflow update the service without requiring the user to upgrade to a paid Google Cloud project?

  4. How should an exposed API key be replaced safely in this managed deployment?

I want to preserve the existing application, all 20 audiobook episodes, audio functionality and design.

I do not want to create another project, rebuild the application, enable billing or subscribe to paid services just to resolve this permissions issue.

Thank you.

Hello @MANKIND_FILMS_SB,

  • Starter Tier: Yes, intrepid-aquifer-... is a Google-managed Starter Tier project, so direct Cloud Run and IAM permissions are restricted. Getting them requires upgrading the project, which adds billing.
  • Updating your app without billing: Yes, you can update your existing service without upgrading. Publishing only deploys the code saved in your app in AI Studio, not a build on your computer. If you fixed the require() / "type": "module" error outside AI Studio, make the same change in your app in AI Studio Build (for example, ask the Build chat to bundle the server in ESM format), then click Publish > Republish. This updates your existing Cloud Run service in place. If Republish shows an error, please share a screenshot and the Applet ID of the app (from aistudio.google.com/apps/<APPLET_ID>).
  • Exposed API key: Delete or rotate the key on the API Keys page first, since changing it in Settings > Secrets alone does not deactivate it. Then add the new key in Settings > Secrets (guide) and click Publish > Republish.