Creating a Functions Environment
Create a reference to a Functions environment.
Before you begin, you must create a function.
For accessing DevOps using the Oracle Cloud Console, REST API, and CLI, see Accessing DevOps.
A reference to the Functions environment is created. You can create a deployment pipeline to deploy artifacts to Oracle Functions.
To create a reference to Functions environment, run the
create-function-environment
command:oci devops deploy-environment create-function-environment
Required parameters for the
create-function-environment
command:--function-id
--project-id
To get all the commands for
deploy-environment
:oci devops deploy-environment -h
To get help for the
create-function-environment
command:oci devops deploy-environment create-function-environment -h
To create a reference to Functions environment, use the
CreateDeployEnvironment
operation. For thedeployEnvironmentType
attribute, specify theFUNCTION
value.