Skip to content

Tsuru service instance bind

tsuru service instance bind

Binds an application or job to a previously created service instance. See [[tsuru

Synopsis

Binds an application or job to a previously created service instance. See [[tsuru service instance add]] for more details on how to create a service instance.

When binding an application or job to a service instance, tsuru will add new environment variables to the application. All environment variables exported by bind will be private (not accessible via [[tsuru env-get]]).

tsuru service instance bind <service-name> <service-instance-name> [-a/--app appname] [-j/--job jobname] [--no-restart] [flags]

Options

  -a, --app string   The name of the app.
  -j, --job string   The name of the job.
      --no-restart   Binds an application to a service instance without restarting the application. Does not apply to jobs
  -h, --help         help for bind

Options inherited from parent commands

      --target string   Tsuru server endpoint
      --verbosity int   Verbosity level: 1 => print HTTP requests; 2 => print HTTP requests/responses

SEE ALSO

  • tsuru service instance - Manage provisioned resources (like a database or proxy) that can be linked to an application.
Auto generated by spf13/cobra on 16-Jan-2026