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 '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
regionstringYesThe name of the Region.-
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
resource_arnslist(string)YesSpecifies the list of ARNs of the resources that you want to apply tags to.-
tagsmap(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

type = featured