Creating Custom Function
In this second lesson, we will create a custom function named fncustom. We will again use the terraform-oci-fk-module, but this time, we will inject four crucial files for the function build:
- Dockerfile – Lists all necessary commands to dockerize the function.
- func.py – Contains the Python code for the function.
- func.yaml – The manifest file for the function.
- requirements.txt – Lists all necessary libraries for the pip3 utility.
Additionally, we will inject a custom message into the function, which will respond when invoked at the end of the Terraform deployment.

