Skip to main content

diagrid project create

Create project

Description

Create new project in an existing organization

diagrid project create <projectid> [flags]

Examples


# Create a project in the default region with a Diagrid Pub/Sub Broker and Diagrid Key/Value store
diagrid project create my-project --deploy-managed-pubsub --deploy-managed-kv

# Create a project in a specific region
diagrid project create my-project --region aws-us-west

# Create a project with managed workflow enabled
diagrid project create my-project --enable-managed-workflow

# Create a project with agent infrastructure enabled (provisions pubsub, kvstore, workflow, and agent-registry)
diagrid project create my-project --enable-agent-infrastructure

# Create a project with a custom max body size for all App IDs
diagrid project create my-project --global-appid-max-body-size 8Mi

Options

  -r, --region string                       Region ID where the project will be deployed
--deploy-managed-pubsub Deploy a Diagrid Pub/Sub Broker for use with the Pub/Sub API
--deploy-managed-kv Deploy a Diagrid Key/Value Store for use with the Key/Value API
--enable-managed-workflow Enable Workflow API by leveraging a Diagrid-managed state store used by the workflow engine. Alternatively, enable Workflow support by providing an external component to a transactional state store
--enable-agent-infrastructure Automatically provision managed services and components required for Dapr Agents
-w, --wait Wait for long-running resource creation to finish
--use Set the created project as the default project for the current context
--disable-app-tunnels Disable app tunnels for this project
--global-appid-max-body-size string Maximum body size for HTTP and gRPC requests across all App IDs in this project (e.g., "4Mi", "8Mi", "16Mi"). Can be overridden at the individual App ID level
--ignore-if-exists Exit with success if the project already exists instead of returning an error
-h, --help help for create

Options inherited from parent commands

      --api-key string   Diagrid Cloud API key

SEE ALSO