Skip to main content

diagrid project update

Update a project's settings

Description​

Update a project's settings, such as enabling managed workflow storage, toggling app tunnels, adjusting the global id max body size, or changing the workflow notification and archive policies of Apps that set none of their own.

diagrid project update <project-name> [flags]

Examples​


# Update a project to enable the workflows managed store
diagrid project update my-project --enable-managed-workflow

# Update a project to disable the workflows managed store
diagrid project update my-project --disable-managed-workflow

# Update the max body size for all ids in a project
diagrid project update my-project --global-id-max-body-size 16Mi

# Raise a notification for terminated workflows and stop raising one for stalled workflows, in Apps with no notification policy of their own
diagrid project update my-project --enable-workflow-notifications TERMINATED --disable-workflow-notifications STALLED

# Turn off the project's workflow notification policy
diagrid project update my-project --disable-workflow-notifications FAILED,TERMINATED,STALLED

# Start archiving terminated workflows and stop archiving completed ones, in Apps with no archive policy of their own
diagrid project update my-project --enable-workflow-archive TERMINATED --disable-workflow-archive COMPLETED

# Turn off the project's workflow archive policy
diagrid project update my-project --archive-binding-name ""

Options​

--enable-managed-workflow Enable a managed workflows store which is required to enable the Workflows API
--disable-managed-workflow Disable the Diagrid-managed workflow store, to bring your own actor state store for workflows
-w, --wait Wait for long-running resource creation to finish
--disable-app-tunnels Disable app tunnels for this project
--global-id-max-body-size string Maximum body size for HTTP and gRPC requests across all ids in this project (e.g., "4Mi", "8Mi", "16Mi"). Can be overridden at the individual id level
--enable-workflow-notifications strings Workflow statuses to start raising a notification for in every App of this project that sets no notification policy of its own. Agents and MCP servers do not use it: FAILED, TERMINATED, STALLED. Comma-separated or repeated. Statuses not listed keep their current setting
--disable-workflow-notifications strings Workflow statuses to stop raising a notification for in every App of this project that sets no notification policy of its own. Agents and MCP servers do not use it: FAILED, TERMINATED, STALLED. Comma-separated or repeated. Statuses not listed keep their current setting
--workflow-notifications-name string Regular expression the workflow name must match in full for the project's notification policy to raise a notification. Pass an empty value to notify for every workflow
--workflow-notifications-root-only Only raise the project's notifications for workflows with no parent. Pass =false to notify for child workflows too
--archive-binding-name string Output-binding component name that every App of this project with no archive policy of its own writes archived workflow history through. Agents and MCP servers do not use it. Setting this enables archiving. Pass an empty value to turn the project's archive policy off
--archive-binding-type string Binding component type for the project's archive destination (e.g., "bindings.aws.s3")
--enable-workflow-archive strings Workflow statuses to start archiving in every App of this project that sets no archive policy of its own: COMPLETED, FAILED, TERMINATED. Comma-separated or repeated. Statuses not listed keep their current setting
--disable-workflow-archive strings Workflow statuses to stop archiving in every App of this project that sets no archive policy of its own: COMPLETED, FAILED, TERMINATED. Comma-separated or repeated. Statuses not listed keep their current setting
-h, --help help for update

Options inherited from parent commands​

--api-key string Diagrid Cloud API key

SEE ALSO​