Skip to content

Latest commit

 

History

History

spend_notifier

Requirements

No requirements.

Providers

Name Version
archive n/a
aws n/a

Modules

No modules.

Resources

Name Type
aws_cloudwatch_event_rule.daily_budget_spend resource
aws_cloudwatch_event_rule.weekly_budget_spend resource
aws_cloudwatch_event_target.daily_budget_spend resource
aws_cloudwatch_event_target.weekly_budget_spend resource
aws_cloudwatch_log_group.this resource
aws_iam_policy.spend_notifier resource
aws_iam_role.spend_notifier resource
aws_iam_role_policy_attachment.lambda_insights resource
aws_iam_role_policy_attachment.spend_notifier resource
aws_lambda_function.spend_notifier resource
aws_lambda_permission.allow_daily_budget resource
aws_lambda_permission.allow_weekly_budget resource
archive_file.spend_notifier data source
aws_caller_identity.current data source
aws_iam_policy.lambda_insights data source
aws_iam_policy_document.spend_notifier data source
aws_iam_policy_document.spend_notifier_role data source
aws_region.current data source

Inputs

Name Description Type Default Required
account_name (Required) The name of the account string null no
billing_tag_value (Required) The value of the billing tag string null no
daily_schedule_expression (Optional) The schedule expression for the daily spend notification string "0 12 * * ? *" no
daily_spend_notifier_hook (Required) The identifier of the webhook to be used by the spend notifier lambda daily string n/a yes
enable_daily_spend_notification (Optional) Enable daily spend notification bool true no
enable_weekly_spend_notification (Optional) Enable weekly spend notification bool true no
weekly_schedule_expression (Optional) The schedule expression for the weekly spend notification string "0 12 ? * SUN *" no
weekly_spend_notifier_hook (Required) The identifier of the webhook to be used by the spend notifier lambda weekly string n/a yes

Outputs

No outputs.