Skip to content

Commit

Permalink
Feat: add extra volumes for masters
Browse files Browse the repository at this point in the history
  • Loading branch information
fatz committed Dec 9, 2020
1 parent a058294 commit d9cdc7a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ module "dcos-master-instances" {
key_name = var.aws_key_name
root_volume_size = var.aws_root_volume_size
root_volume_type = "gp2"
extra_volumes = var.aws_extra_volumes
tags = var.tags
associate_public_ip_address = var.aws_associate_public_ip_address
dcos_instance_os = var.dcos_instance_os
iam_instance_profile = var.aws_iam_instance_profile
name_prefix = var.name_prefix
}

6 changes: 5 additions & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ variable "aws_associate_public_ip_address" {
default = true
}

variable "aws_extra_volumes" {
description = "Extra volumes for each instance"
default = []
}

variable "user_data" {
description = "User data to be used on these instances (cloud-init)"
default = ""
Expand Down Expand Up @@ -72,4 +77,3 @@ variable "name_prefix" {
description = "Name Prefix"
default = ""
}

0 comments on commit d9cdc7a

Please sign in to comment.