Skip to main content
Version: v3.x

DDN CLI: ddn subgraph build create

Create a SubgraphBuild on Hasura DDN.

Synopsis

Create a SubgraphBuild on Hasura DDN

ddn subgraph build create [flags]

Examples

# Build the Subgraph from a config file for Project with some environment variables
ddn subgraph build create --subgraph ./app/subgraph.yaml --project pet-lion-2649 --env key1=val1

Options

    --ci                             Disables the use of context
-c, --context string Name of the context to use. (default <current_context>)
-d, --description string (Optional) description of the build
-e, --env stringArray Environment variable, e.g. key=val. Can be repeated to provide multiple env vars
--env-file stringArray Path to .env file. Can be repeated to provide multiple env files
-h, --help help for create
--no-build-connectors Do not recursively build all connectors in the subgraph and use their URLs for subgraph build. (default: false)
-p, --project string DDN Project name
--subgraph string Path to Subgraph config file
--target-env-file string Env file to write the connector build URLs to.
--update-connector-link-schema Update DataConnectorLink schema with the NDC schema of the connectors built recursively. (default: false)

Options inherited from parent operations

--log-level string   Log level. Can be DEBUG, WARN, INFO, ERROR, or FATAL. (default "INFO")
--no-prompt Do not prompt for required but missing flags
--out string Output format. Can be table, json or yaml. (default "table")
--timeout int Request timeout in seconds [env: HASURA_DDN_TIMEOUT] (default 100)

Parent operation

Loading...