Skip to content

Flaconi/terraform-aws-aws-cost-anomaly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-module-template

Template for Terraform modules

License

For requirements regarding module structure: style-guide-terraform.md

Providers

Name Version
aws n/a

Requirements

Name Version
terraform ~> 1.3

Required Inputs

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
      })
    }))
  }))

Optional Inputs

The following input variables are optional (have default values):

Description: A map of tags to assign to the resources

Type: map(string)

Default: null

Outputs

No outputs.

License

MIT License

Copyright (c) 2023 Flaconi GmbH

About

Terraform module for handling aws cost anomaly detection

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •