I'm having trouble to complete the Challenge Lab Cloud Functions: 3 Way in Week 3's Arcade Trivia Oct 2024. The requirement said we need to deploy the function with 2 maximum instances, but that failed with using the command line (and Cloud console as well). Any one could help?
I ran into the same problem when I was working on that challenge. What worked for me was using the gcloud command to set the max instances during deployment—try running gcloud functions deploy your-function-name --max-instances=2. It didn't go through the first time because of a permissions issue, so double-check that you've got the right roles assigned. That might be what's holding things up for you too.
What permissions are required? I tried to redeploy the function many times but the max-instances does not apply.
User | Count |
---|---|
35 | |
19 | |
7 | |
4 | |
3 |