library
turbot/aws
Get Involved
Version
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
Name | Type | Required | Description | Default |
---|---|---|---|---|
region | string | Yes | The name of the Region. | - |
conn | connection.aws | Yes | Name of AWS connection to use. If not provided, the default AWS connection will be used. | connection.aws.default |
resource_arns | list(string) | Yes | Specifies the list of ARNs of the resources that you want to apply tags to. | - |
tags | map(string) | Yes | Specifies 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
Name | Description |
---|---|
failed_resources | A 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