Warm tip: This article is reproduced from serverfault.com, please click

Make GCP Function Public

发布于 2020-11-26 16:57:46

I have GCP throwing me an IAM Error when trying to make a function totally 100% public.

Under Permissions, in the function: Add > New Members: allUsers > Role: Essential Contact Viewer. It warns you about making it fully public to all on the Internet (this is what I want) Prompt

However, when clicking "Allow Public Access" it throws an error.

Note: I've tried this on my local machine and same error & also occurs when I try it on "allAuthenticatedUsers".

I cannot search the error ID as a unique one is produced any time an attempt is made.

Is there a step I've missed or is this a GCP problem?

[Prompt verifying Admin wants GCP Function fully Public ][1]

Edit: Added images

Questioner
StressedBoi
Viewed
0
StressedBoi 2020-11-29 04:31:52

Solved! Needed to "Enable the APIs", then select your Project name that your function resides in. https://cloud.google.com/functions/docs/quickstart#functions_quickstart_helloworld-python