Template for Terraform modules
For requirements regarding module structure: style-guide-terraform.md
Name | Version |
---|---|
aws | n/a |
Name | Version |
---|---|
terraform | ~> 1.3 |
The following input variables are required:
Description: Name of slack workspace
Type: string
Description: The AWS account ID of the account that will be sending the cost alerts
Type: string
Description: n/a
Type:
map(object({
sns_topic_name = string
cost_monitor = object({
monitor_type = string #ONLY ONE DIMENSIONAL otherwise custom
name = optional(string)
})
subscriptions = list(object({
monitor_names = optional(list(string), []) # additional monitors beside the existing one
frequency = string #DAILY, IMMEDIATE, WEEKLY
slack_channel_id = optional(string)
name = string
subscriber = optional(list(string), []) #EMAILS sns arn is added automatically
threshold_expresion = object({
key = string
match_option = string
value = string
})
}))
}))
The following input variables are optional (have default values):
Description: A map of tags to assign to the resources
Type: map(string)
Default: null
No outputs.
Copyright (c) 2023 Flaconi GmbH