You are developing a serverless application with Oracle Functions. You have created a function in compartment named prod. When you try to invoke your function you get the following error: How can you resolve this error? (Choose the best answer.)
A.
Create a policy: Allow function-family to use virtual-network-family in compartment prod
B.
Create a policy: Allow any-user to manage function-family and virtual-network-family in compartment prod
C.
Create a policy: Allow service FaaS to use virtual-network-family in compartment prod
D.
Deleting the function and redeploying it will fix the problem
C, for sure.
When Oracle Functions users create a function or application, they have to specify a VCN and a subnet in which to create them. To enable the Oracle Functions service to create the function or application in the specified VCN and subnet, you must create an identity policy to grant the Oracle Functions service access to the compartment to which the network resources belong.
Allow service FaaS to use virtual-network-family in compartment <compartment-name>
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
gfhbox0083
Highly Voted 4 years, 10 months agoFPM
Most Recent 4 years, 3 months agoFPM
4 years, 3 months agojesmonsa
4 years, 4 months agodavidliuatoracle
4 years, 4 months agoJatindra
4 years, 10 months ago