Skip to main content

diagrid app create

Create an App

Description

Create an App in a project.

diagrid app create <app> [flags]

Examples


# Create an identity-only App (no endpoint)
diagrid app create my-app --project my-project

# Create an App with an endpoint
diagrid app create my-app --project my-project --endpoint https://myapp.myorg.com/ --endpoint-token xxxxxxxx

# Create an App with workflow-history archiving enabled
diagrid app create my-app --project my-project --archive-binding-name archive-store --archive-binding-type bindings.aws.s3 --archive-completed

Options

-p, --project string Name of existing project
-e, --endpoint string Endpoint used to establish outbound connectivity from the App to your external application
-t, --endpoint-token string Token used to secure calls from the App to your provided endpoint
-w, --wait Wait for long-running resource creation to finish
--ignore-if-exists Exit with success if the App already exists instead of returning an error
--archive-binding-name string Output-binding component name to write archived workflow history through. Setting this enables archiving
--archive-binding-type string Binding component type for the archive destination (e.g., "bindings.aws.s3")
--archive-completed Archive workflows that reach the Completed terminal state
--archive-failed Archive workflows that reach the Failed terminal state
--archive-terminated Archive workflows that reach the Terminated terminal state
-h, --help help for create

Options inherited from parent commands

--api-key string Diagrid Cloud API key

SEE ALSO