library
turbot/azure
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: 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>'

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>
}
}

Params

NameTypeRequiredDescriptionDefault
conn
connection.azure
YesName of Azure connection to use. If not provided, the default Azure connection will be used.connection.azure.default
operation
string
YesThe update operation. Options are Merge, Replace and Delete.-
resource_id
string
YesThe resource identifier for the entity being tagged. A resource, a resource group or a subscription may be tagged.-
tags
map
YesThe tags to be updated on the resource. Example tagKey:tagValue.-

Outputs

NameDescription
tagThe updated resource tag.