library
turbot/azure
OverviewPipelines
0
Triggers
0
Variables
GitHub

Update Resource Tag

Selectively update the set of tags on a specific resource.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run azure.pipeline.update_resource_tag \
--arg 'operation=<string>' \
--arg 'resource_id=<string>' \
--arg 'tags=<map of dynamic>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = azure.pipeline.update_resource_tag
args = {
operation = <string>
resource_id = <string>
tags = <map of dynamic>
}
}

Params

NameTypeRequiredDefaultDescription
credstringYesdefaultName for credentials to use. If not provided, the default credentials will be used.
operationstringYes-The update operation. Options are Merge, Replace and Delete.
resource_idstringYes-The resource identifier for the entity being tagged. A resource, a resource group or a subscription may be tagged.
tagsmap of dynamicYes-The tags to be updated on the resource. Example tagKey:tagValue.

Outputs

NameDescription
tagThe updated resource tag.