Boundary
workers set-worker-tags
Command: boundary workers set-worker-tags
The boundary workers set-worker-tags
command lets you set API tags for worker resources.
Example
This example sets the API tags key1=val-a
and key2=val-b,val-c
for a worker with the ID w_1234567890
:
$ boundary workers set-worker-tags -id w_1234567890 -tag "key1=val-a" -tag "key2=val-b,val-c"
Usage
$ boundary workers set-worker-tags [sub command] [args]
Command options
-id=<string>
- The ID of the worker you want to set tags for.tag=<key=val-a, key2=val-b,val-c>
- The API tag resources you want to set on the worker.version=<int>
- The version of the worker to perform the operation on. If you do not specify a version, the command performs a check-and-set automatically.
CLI options
In addition to the command specific options, there are options common to all CLI commands and subcommands: