We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d9d5590 + 4112ef0 commit 128b732Copy full SHA for 128b732
1 file changed
main.tf
@@ -59,6 +59,10 @@ variable "snapshot_start" {
59
default = 0
60
}
61
62
+variable "volume_size" {
63
+ default = "35"
64
+}
65
+
66
67
resource "aws_security_group" "elasticsearch" {
68
name = "${var.name}"
@@ -115,7 +119,7 @@ resource "aws_elasticsearch_domain" "es" {
115
119
ebs_options {
116
120
ebs_enabled = true
117
121
volume_type = "gp2"
118
- volume_size = "35"
122
+ volume_size = "${var.volume_size}"
123
124
125
snapshot_options {
0 commit comments