-
Notifications
You must be signed in to change notification settings - Fork 19
/
variables.tf
47 lines (34 loc) · 816 Bytes
/
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
# https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html#CloudWatch-Dashboard-Properties-Metric-Widget-Object
variable "dimensions" {
description = "A comma separated list of DimensionNames and DimensionsValues. Due to a limitation in Terraform, nested lists can't be passed through modules. :("
type = "list"
default = []
}
variable "metric_name" {}
variable "namespace" {}
// Widget Properties
variable "height" {
default = 6
}
variable "width" {
default = 6
}
// Metric Object Properties
variable "region" {
default = "us-east-1"
}
variable "period" {
default = 300
}
variable "stacked" {
default = false
}
variable "stat" {
default = "Average"
}
variable "title" {
default = false
}
variable "view" {
default = "timeSeries"
}