library
turbot/azure
Get Involved
Version
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
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.azure | Yes | Name of Azure connection to use. If not provided, the default Azure connection will be used. | connection.azure.default |
operation | string | Yes | The update operation. Options are Merge, Replace and Delete. | - |
resource_id | string | Yes | The resource identifier for the entity being tagged. A resource, a resource group or a subscription may be tagged. | - |
tags | map | Yes | The tags to be updated on the resource. Example tagKey:tagValue. | - |
Outputs
Name | Description |
---|---|
tag | The updated resource tag. |