Skip to main content
Version: 3.9.0

tag update Command

The tag update command updates a tag (or creates a tag if it does not exist).

Usage

tag update [--nowait] <tag_name> <tag_value>

Parameters

ParameterDescriptionRequired?Default Value
tag_nameName of tag to delete✔️
tag_valueNew value to store in tag✔️

Options

OptionDescriptionRequired?
--nowaitExecute asynchronously in the background

Examples

Update a tag using a format template
> query is(volume) and tags.owner == null limit 1 | tag update owner "gen_{/ancestors.account.reported.name}_{name}"
kind=gcp_disk, id=123, name=gke-1, age=5mo27d, cloud=gcp, account=eng, region=us-central1, zone=us-central1-c

Contact Us

Have feedback or need help? Don’t be shy—we’d love to hear from you!

 

 

 

Some Engineering Inc.