library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: 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 'region=<string>' \
--arg 'resource_arns=<list(string)>' \
--arg 'tags=<map(string)>'

Use this pipeline

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

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

Params

NameTypeRequiredDescriptionDefault
region
string
YesThe name of the Region.-
conn
connection.aws
YesName of AWS connection to use. If not provided, the default AWS connection will be used.connection.aws.default
resource_arns
list(string)
YesSpecifies the list of ARNs of the resources that you want to apply tags to.-
tags
map(string)
YesSpecifies 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.-

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.

Tags

recommended = true