library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Tag Resources

Applies one or more tags to the specified resources.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws.pipeline.tag_resources \
--arg 'tags=<map of string>' \
--arg 'region=<string>' \
--arg 'resource_arns=<list of string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = aws.pipeline.tag_resources
args = {
tags = <map of string>
region = <string>
resource_arns = <list of string>
}
}

Params

NameTypeRequiredDescriptionDefault
tagsmap of stringYesSpecifies a list of tags that you want to add to the specified resources. A tag consists of a key and a value that you define.-
regionstringYesThe name of the Region.-
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
resource_arnslist of stringYesSpecifies the list of ARNs of the resources that you want to apply tags to.-

Outputs

NameDescription
failed_resourcesA map containing a key-value pair for each failed item that couldn’t be tagged. The key is the ARN of the failed resource.