library
turbot/azure_tags

Correct one resource with incorrect tags

Correct one resource with incorrect tags

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run azure_tags.pipeline.correct_one_resource_with_incorrect_tags \
--arg 'title=<string>' \
--arg 'id=<string>' \
--arg 'region=<string>' \
--arg 'subscription_id=<string>' \
--arg 'cred=<string>' \
--arg 'old_tags=<map(string)>' \
--arg 'new_tags=<map(string)>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = azure_tags.pipeline.correct_one_resource_with_incorrect_tags
args = {
title = <string>
id = <string>
region = <string>
subscription_id = <string>
cred = <string>
old_tags = <map(string)>
new_tags = <map(string)>
}
}

Params

NameTypeRequiredDescriptionDefault
titlestringYesTitle of the resource-
idstringYesID of the resource-
regionstringYesThe region the resource is located in-
subscription_idstringYesID of the subscription containing the resource-
credstringYesCredential identifier-
old_tagsmap(string)YesMap of tags prior to correction-
new_tagsmap(string)YesMap of tags the correction should result in-
notifierstringYesThe name of the notifier to use for sending notification messages.default
notification_levelstringYesThe verbosity level of notification messages to send. Valid options are 'verbose', 'info', 'error'.info
approverslist(string)YesList of notifiers to be used for obtaining action/approval decisions.
[
"default"
]
default_actionstringYesThe default action to use for the detected item, used if no input is provided.notify

Outputs

This pipeline has no outputs.