Skip to content
Open
9 changes: 9 additions & 0 deletions servers/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,12 @@ variable "hash_commit" {
variable "servers" {

}

variable "blocks" {
type = list(object({
device_name = string
volume_size = string
volume_type = string
}))
description = "List of EBS Block"
}
2 changes: 1 addition & 1 deletion terrafile.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "servers" {
source = "./servers"
servers = 1
servers = 2
}

output "ip_address" {
Expand Down