library
turbot/azure
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Apply Resource Tags

Apply tags to a specific Azure resource.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run azure.pipeline.tag_resources \
--arg 'tags=<map>' \
--arg 'resource_id=<string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = azure.pipeline.tag_resources
args = {
tags = <map>
resource_id = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
conn
connection.azure
YesName of Azure connection to use. If not provided, the default Azure connection will be used.connection.azure.default
tags
map
YesThe tags to be applied on the resource. Example: {key1: value1, key2: value2}.-
resource_id
string
YesThe resource identifier for the entity being tagged. A resource, a resource group or a subscription may be tagged.-
incremental
bool
YesIf true, the tags will be merged with the existing tags. If false, the existing tags will be replaced with the new tags.true

Outputs

NameDescription
tagThe applied resource tags.