Total n00b both to prefect and pretty much infrast...
# ask-community
m
Total n00b both to prefect and pretty much infrastructure in general. I'm trying to run
Copy code
prefect work-pool create --type cloud-run:push --provision-infra ringmaster-cloud-run
and getting
Copy code
Setting default Docker build namespace
Creating service account
Assigning roles to service account
Provisioning Infrastructure ━━━━━━━━━━━━━━━━━━━━━━━━━━╸━━━━━━━━━━━━━  67% 0:00:02
Failed to provision infrastructure: Error assigning roles to service account. Please ensure you have the necessary permissions.
I've made sure that my account has the permissions listed here, and also taken my own stab at guessing what other permissions might be missing from that list, and of course asked chatgpt to opine. I also tried seeing if this command would take --verbose or --debug, no such luck. Any advice would be super appreciated!
c
Hey Michael! Sorry that the traceback isn't helpful here; could you try:
Copy code
PREFECT_DEBUG_MODE=1 prefect work-pool create --type cloud-run:push --provision-infra ringmaster-cloud-run
and see if that displays more information? Also, I think this would benefit from being opened as a GitHub issue so that other people who search for this error can get help. It'd be great if you could create a new issue! 🙏
m
TY! And will do.
Well it ended up working now, but that's probably because in the intervening time I had done some of the manual steps without --provision-infra. Thank you for the help!
c
ah dang, well let us know if you run into it again; glad you're on the other side at least!
🙌 1