Skip to main content
logoTetrate Service BridgeVersion: 1.8.x

tctl apply

tctl apply

Apply a configuration to a resource by filename or stdin

tctl apply [flags]

Examples

tctl apply -f config.yaml

# Apply a single resource in dry-run mode at server-side.
# This will not create any resources, but will validate the configuration.
tctl apply -f config.yaml --dry-run server-side

Options

      --dry-run string       Apply a single resource in dry-run mode: server-side
-f, --file string File or directory containing configuration to apply [required]
-h, --help help for apply
-o, --output-type string Response output type: table, yaml, json

Options inherited from parent commands

  -c, --config string               Path to the config file to use. Can also be
specified via TCTL_CONFIG env variable. This flag
takes precedence over the env variable.
--debug Print debug messages for all requests and responses
--disable-tctl-version-warn If set, disable the outdated tctl version warning. Can also be
specified via TCTL_DISABLE_VERSION_WARN env variable.
-p, --profile string Use specific profile (default "default")