Source: https://www.youtube.com/watch?v=t7e0dNSCmzI
Create a function on functions and get the URL
On the right at info panel , click add a member
Insert the service account email
In the role choose Cloud functions invoker
Create a scheduler
Give a target as HTTP
Insert URL of the functions into URL
HTTP method is GET
Auth header is OIDC TOken
Service account is the email of the service account
That's it!
No comments:
Post a Comment