billing

DNXLabs/billing/aws

Terraform Module HCL AWS ⏱ stale 4y 4mo

AWS Billing Module

Install

module "billing" {
source = "DNXLabs/billing/aws"
version = "0.2.0"
}
⭐ Source on GitHub 📦 Registry page

README

terraform-aws-billing ![Lint Status](https://github.com/DNXLabs/terraform-aws-billing/actions) ![LICENSE](https://github.com/DNXLabs/terraform-aws-billing/blob/master/LICENSE) This terraform module is a AWS Billing Module that add billing related aws resources. The following resources will be created: - IAM billing role - AWS Budget - SNS Budget Alarm In addition you have the option to: - Enable or not AWS Budget cost control - Set The amount of cost or usage being measured for a budget - Set The length of time until a budget resets the actual and forecasted spend. Valid values: MONTHLY, QUARTERLY, ANNUALLY. - Set The unit of measurement used for the budget forecast, actual spend, or budget threshold, such as dollars or GB. - E-Mail addresses to notify the budget - Enable or not AWS Chatbo

Inputs (12)

NameTypeDescriptionDefault
idp_account_idstringAccount ID for IDP account to allow assuming normal users for billing required
org_namestringName for this organization required
slack_workspace_idstringSclack workspace id to send budget notfication using AWS Chatbot""
enable_budgetstringFlag to enable AWS Budget cost control"false"
role_max_session_durationstringMaximum CLI/API session duration"43200"
budget_ammountstringThe amount of cost or usage being measured for a budget."0"
budget_timestringThe length of time until a budget resets the actual and forecasted spend. Valid "MONTHLY"
budget_threshold_percentagestringThe unit of measurement used for the budget forecast, actual spend, or budget th"60"
budget_emailstringE-Mail addresses to notify.""
enable_chatbot_slackstringIf true, will create aws chatboot and integrate to slack"false"
notification_typestringBudget notification type - The Forecast option is not available for Daily Budget"ACTUAL"
slack_channel_idstringSclack channel id to send budget notfication using AWS Chatbot""

Resources (6)

aws_budgets_budgetaws_cloudformation_stackaws_iam_roleaws_iam_role_policy_attachmentaws_sns_topicaws_sns_topic_policy

Details

FrameworkTerraform Module
LanguageHCL
Version0.2.0
Cloud AWS
★ Stars1
Forks2
Total downloads7.1k
Inputs12
Resources6
LicenseApache-2.0
NamespaceDNXLabs
Updated