library
turbot/azure
OverviewPipelines
0
Triggers
0
Variables
GitHub

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(any)>' \
--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(any)>
resource_id = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
tagsmap(any)YesThe tags to be applied on the resource. Example: {key1: value1, key2: value2}.-
resource_idstringYesThe resource identifier for the entity being tagged. A resource, a resource group or a subscription may be tagged.-
incrementalboolYesIf true, the tags will be merged with the existing tags. If false, the existing tags will be replaced with the new tags.

Outputs

NameDescription
tagThe applied resource tags.