Create Environment
Environments
Create Environment
Create an environment in one of your connected cloud accounts.
Provisioning runs asynchronously. Follow it by polling GET /v1/environments/{envId} until state is available or create_failed, or by following the returned op_id.
Create Environment
Authorizations
Your account API token, sent as Authorization: Bearer <api_token>. Owners and admins can read the token from the LocalOps console.
Body
application/json
Name of the environment
The LocalOps project the environment belongs to
The cloud account connection to create the environment in
For example aws-us-east-1 or gcp-us-central1
VPC CIDR block. LocalOps picks one when omitted.