paulosobral / formacao-sre-cost-alarm-iac

This project is about creating a cost alarm infrastructure as code using Terraform for an SRE (Site Reliability Engineering) formation. The project includes a module for creating an SNS topic to send email notifications when the cost threshold is exceeded.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Formação SRE Cost Alarm IaC

This project is about creating a cost alarm infrastructure as code using Terraform for an SRE (Site Reliability Engineering) formation. The project includes a module for creating an SNS topic to send email notifications when the cost threshold is exceeded.

Requirements

No requirements.

Providers

Name Version
aws 5.22.0

Modules

Name Source Version
sns_email_topic ./modules/tf_sns_email n/a

Resources

Name Type
aws_cloudwatch_metric_alarm.cost_alert resource

Inputs

Name Description Type Default Required
alarm_description The description of the alarm. string "This metric monitors estimated charges and sends an email when the threshold is exceeded." no
alarm_name The name of the alarm. string "Cost Alert" no
comparison_operator The arithmetic operation to use when comparing the specified statistic and threshold. string "GreaterThanThreshold" no
email_address_1 n/a string "cintya_milanez@hotmail.com" no
email_address_2 n/a string "paulo.sobral@outlook.com.br" no
evaluation_periods The number of periods over which data is compared to the specified threshold. number 1 no
metric_name The name of the metric associated with the alarm. string "EstimatedCharges" no
namespace The namespace of the metric associated with the alarm. string "AWS/Billing" no
period The length of time in seconds that the metric associated with the alarm is evaluated. number 86400 no
region Defines the AWS region. string "us-east-1" no
sns_topic_name SNS Topic Variables string "cost_alert" no
statistic The statistic to apply to the metric associated with the alarm. string "Maximum" no
threshold The value against which the specified statistic is compared. number 1 no

Outputs

No outputs.

image AWS Terraform

About

This project is about creating a cost alarm infrastructure as code using Terraform for an SRE (Site Reliability Engineering) formation. The project includes a module for creating an SNS topic to send email notifications when the cost threshold is exceeded.


Languages

Language:HCL 89.2%Language:Smarty 10.8%