Creating Hello World Function
This lesson guides you through creating a “Hello World” function named fkfn. The Terraform code in this lesson utilizes the terraform-oci-fk-module, which includes an embedded function example. This module sets up the necessary networking components, including a VCN, public subnet, internet gateway, security list, and route table. The function will be deployed under the OCI Application, which will be connected to the network.
Before deploying the application and function, the function code will be built (dockerized) and published in the OCI Container Registry. From there, the function will be deployed. Ultimately, the module will automatically invoke the function using the oci raw-request –http-method POST command, and we will see the “Hello World” response from the function.

