Help Center> FunctionGraph> User Guide> Building Functions> Deploying a Function Using Terraform> Creating a Function by Running Terraform Commands
Updated on 2023-04-26 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.