We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb20397 commit 8fe083dCopy full SHA for 8fe083d
main.tf
@@ -25,6 +25,7 @@ resource "aws_instance" "gitlab" {
25
root_block_device {
26
volume_type = var.volume_type
27
volume_size = var.volume_size
28
+ iops = var.volume_iops
29
delete_on_termination = false
30
}
31
variables.tf
@@ -36,6 +36,12 @@ variable "volume_size" {
36
description = "Size of root EBS volume for Gitlab instance."
37
38
39
+variable "volume_iops" {
40
+ type = number
41
+ default = 3000
42
+ description = "IOPS for the Gitlab EBS volume"
43
+}
44
+
45
variable "public_subnet_ids" {
46
type = list(string)
47
description = "List of public subnet Ids for Gitlab load balancer."
0 commit comments