-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocals.fp
41 lines (37 loc) · 1.61 KB
/
locals.fp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Tags
locals {
aws_thrifty_common_tags = {
category = "Cost"
plugin = "aws"
service = "AWS"
}
}
// Consts
locals {
level_verbose = "verbose"
level_info = "info"
level_error = "error"
style_ok = "ok"
style_info = "info"
style_alert = "alert"
}
// Notification level
locals {
notification_level_enum = ["info", "verbose", "error"]
}
// Common Texts
locals {
description_database = "Database connection string."
description_approvers = "List of notifiers to be used for obtaining action/approval decisions."
description_connection = "Name of the AWS connection to be used for any authenticated actions."
description_region = "AWS Region of the resource(s)."
description_title = "Title of the resource, to be used as a display name."
description_max_concurrency = "The maximum concurrency to use for responding to detection items."
description_notifier = "The name of the notifier to use for sending notification messages."
description_notifier_level = "The verbosity level of notification messages to send. Valid options are 'verbose', 'info', 'error'."
description_default_action = "The default action to use for the detected item, used if no input is provided."
description_enabled_actions = "The list of enabled actions to provide to approvers for selection."
description_trigger_enabled = "If true, the trigger is enabled."
description_trigger_schedule = "The schedule on which to run the trigger if enabled."
description_items = "A collection of detected resources to run corrective actions against."
}