Updated on 2026-01-13 GMT+08:00

Creating a Function by Running Terraform Commands

Go to the file path and run the terraform init command to initialize a working directory that contains the Terraform code.

Run the terraform apply command and enter yes after Enter a value:.

If the execution is successful, the function has been created.