Skip to content

adk deploy cloud_run error- Deploy failed: [WinError 5] Access is denied, Win 11,Google Cloud SDK Shell #999

@RoadRun553

Description

@RoadRun553

I have Windows 11. Trying to execute adk deploy cloud_run in Google Cloud SDK Shell under Admin mode, but getting below error I have disabled Norton antivirus & firewall. Stopped one drive which was running in back ground.

TryinI was following guidelines in https://google.github.io/adk-docs/deploy/cloud-run/#setup-environment-variables

Received below error, tried in C: drive, deleted and re created the temp folder in C:. Then I moved execution to D: drive and created a temp folder there. Still getting error

(.venv_agentspace) C:\OneDrive\Desktop\agentspace>adk deploy cloud_run ^
More? --project=%GOOGLE_CLOUD_PROJECT% ^
More? --region=%GOOGLE_CLOUD_LOCATION% ^
More? --verbosity debug ^
More? %AGENT_PATH%
Start generating Cloud Run source files in C:\Users\Mindful Owner\AppData\Local\Temp\cloud_run_deploy_src\20250529_061435
Copying agent source code...
Copying agent source code complete.
Creating Dockerfile...
Creating Dockerfile complete: C:\Users\Mindful Owner\AppData\Local\Temp\cloud_run_deploy_src\20250529_061435\Dockerfile
Deploying to Cloud Run...
Cleaning up the temp folder: C:\Users\Mindful Owner\AppData\Local\Temp\cloud_run_deploy_src\20250529_061435
Deploy failed: [WinError 5] Access is denied: 'C:\Users\Mindful Owner\AppData\Local\Temp\cloud_run_deploy_src\20250529_061435\agents\capital_agent'

Can someone help on this ?

Metadata

Metadata

Assignees

Labels

help wanted[Community] Extra attention is needed

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions