-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tf
60 lines (48 loc) · 1.08 KB
/
main.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
}
}
}
provider "aws" {}
data "aws_caller_identity" "current" {}
locals {
name = "" # project/AWS account name
project = "billing"
}
module "billing_alarm" {
source = "./Modules/Billing/"
providers = {
aws = "aws"
}
name = "${local.name}"
account_budget_limit = "" # monthly limit for AWS account
services = {
EC2 = {
budget_limit = "" # monthly limit for AWS Service
},
S3 = {
budget_limit = "" # monthly limit for AWS Service
},
KMS = {
budget_limit = "" # monthly limit for AWS Service
},
CloudWatch = {
budget_limit = "" # monthly limit for AWS Service
},
DynamoDB = {
budget_limit = "" # monthly limit for AWS Service
},
Route53 = {
budget_limit = "" # monthly limit for AWS Service
},
EC2Other = {
budget_limit = "" # monthly limit for AWS Service
},
Config = {
budget_limit = "" # monthly limit for AWS Service
}
## Add AWS Services here
}
}