Skip to main content
Version: 2.0.0

tdk collection create

Create a new collection

tdk collection create \
--proj quickstart \
--name sales_data \
--description Ingests raw sales data from Postgres \
--group sources \
--storage-path /prod \
--conn-file conn-postgres.yaml
FlagTypeRequiredDescription
--proj, -PstringOptionalProject to target; overrides the pinned project. Prompted for when a command needs one and neither is set.
--name, -nstringOptionalName of the collection to create.
--descriptionstringOptionalDescription of the collection.
--groupstringOptionalName of the group to assign. Defaults to 'default' when omitted. Use 'tdk group list' to see available groups.
--storage-pathstringOptionalLogical storage prefix for the collection's artifacts. Defaults to '/'. The physical backend is selected by the server's configured mounts.
--conn-filestringOptionalConnection YAML document ('-' to read from stdin). Required for a source/destination collection — it is created WITH its connection. The connection is validated and dehydrated client-side; secret values are stripped into the secret payload.