Select spec version:

Manage Destinations using Rudder CLI Beta

Define and manage destinations as YAML configurations using the Rudder CLI tool.
Available Plans
  • free
  • growth
  • enterprise

This feature is in Public Beta as part of RudderStack’s Early Access Program, where we work with early users and customers to test new features and get feedback before making them generally available.

Contact the Product team if you have any questions.

Rudder CLI lets you manage destinations as code. You define each destination in YAML, validate the spec locally, and apply it to your workspace with the same Git-based workflow you use for sources and other CLI resources.

A destination spec is the endpoint a connection points at. You declare the destination in the same project as the source, then declare the connection that links them.

Destination support is experimental.

Enable the destinationSupport flag in your CLI configuration (or set RUDDERSTACK_X_DESTINATION_SUPPORT=true) before you validate or apply destination resources. Without it, the destination kind is not registered and your specs fail validation.

Rudder CLI currently supports Amazon S3 (s3). See Supported destination types.

Key features

Declarative YAML configuration

  • Define destinations in YAML with a type, definition version, and per-type config block. See the Destination YAML Reference.
  • Keep credentials out of Git by referencing secrets as {{ .VAR }} and supplying them at apply time with --var-file. See How to Use Variable Substitution in Rudder CLI.
  • Optionally link a transformation with a #transformation: reference. Connection mode per source type stays in the destination config block — not on the connection spec.

Git integration and CI/CD support

  • Import destinations that already exist in your workspace, then manage them through Git.
  • Validate and apply destination specs with the same rudder-cli validate and rudder-cli apply commands you use for other resources.
  • Use GitHub Actions to run those commands in CI.

Who can use this feature?

CLI-based destination management is useful when you need to:

  • Version destination configuration next to the sources and connections that use it.
  • Review destination changes in pull requests before they reach a workspace.
  • Reproduce the same destination setup across development and production workspaces.

Supported destinations

Rudder CLI currently supports Amazon S3 (s3). The dashboard catalog is larger than what you can define in CLI YAML.

Unverified destinations will be supported in the next iteration.

See Supported destination types for the type value you use in YAML.

Get started

Questions? Let's figure it out together.

Join the RudderStack Slack community to connect with other users, customers, and the RudderStack team — or reach out for direct support.