-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathvariables.tf
66 lines (55 loc) · 2.34 KB
/
variables.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
61
62
63
64
65
variable "cur_bucket_name" {
type = string
description = "The S3 bucket name to provision for CUR integration. This module assumes the bucket does not already exist and will setup the bucket, CUR integration with the bucket, and access for the cross account role."
default = ""
}
variable "vantage_sns_topic_arn" {
type = string
description = "SNS Topic used to notify of bucket events, such as CUR files being updated. Default is the production SNS topic used by Vantage and should not be changed except for module development."
default = "arn:aws:sns:us-east-1:630399649041:cost-and-usage-report-uploaded"
}
variable "cur_report_name" {
type = string
description = "Report name for the CUR report definition."
default = "VantageReport"
}
variable "compatibility_private_bucket_acl" {
type = bool
description = "For backwards compatibility, users can set this variable to true so a 'private' bucket ACL is applied. This is not necessary for new buckets being created. If you're unsure, leave this as false."
default = false
}
variable "enable_autopilot" {
type = bool
description = "Enable Vantage Autopilot. This will create more permissions for the cross account role."
default = true
}
variable "vantage_root_iam_policy_override" {
type = string
description = "AWS IAM Policy to override the Vantage Root IAM policy."
default = null
}
variable "vantage_cloudwatch_metrics_iam_policy_override" {
type = string
description = "AWS IAM Policy to override the Vantage Cloudwatch Metrics IAM policy."
default = null
}
variable "vantage_additional_resources_iam_policy_override" {
type = string
description = "AWS IAM Policy to override the Vantage Additional ResourcesIAM policy."
default = null
}
variable "additional_inline_policies" {
type = set(map(string))
description = "Additonal IAM Policies to include on the cross account role."
default = []
}
variable "tags" {
description = "A map of tags to add to all supported resources managed by the module."
type = map(string)
default = {}
}
variable "cur_report_additional_schema_elements" {
description = "A list of additional schema elements for the cur report. Only used if a cur bucket is specified."
type = list(string)
default = ["RESOURCES"]
}