When creating an OCI Function application, you must select one or more subnets. What type of subnets should you choose if your function needs to call external public APIs over the internet?
Outbound internet traffic from private subnets requires a NAT Gateway, while public subnets use an Internet Gateway.
Why this answer
If functions need outbound internet access (e.g., calling public APIs), the associated subnets must have a route table pointing to a NAT Gateway or Internet Gateway.