Skip to content

Commit

Permalink
Merge pull request #22 from kjonick1/master
Browse files Browse the repository at this point in the history
Add root_vol_size for openvpn server
  • Loading branch information
disaac authored Feb 7, 2019
2 parents 8490b2b + d619cb6 commit 2e7b1f9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker-openvpn-server/cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,15 @@ module "cluster" {

# LC parameters
ami = "${coalesce(var.ami_custom, data.aws_ami.cluster_ami.id)}"
associate_public_ip_address = "${var.associate_public_ip_address}"
ebs_optimized = "false"
enable_monitoring = "true"
instance_based_naming_enabled = "${var.instance_based_naming_enabled}"
instance_profile = "${aws_iam_instance_profile.profile.id}"
instance_type = "${var.instance_type}"
key_name = "${var.key_name}"
root_vol_size = "${var.root_vol_size}"
user_data = "${coalesce(var.ami_custom_user_data, data.template_file.user_data.rendered)}"
associate_public_ip_address = "${var.associate_public_ip_address}"

# ASG parameters
enabled_metrics = "${var.enabled_metrics}"
Expand Down
5 changes: 5 additions & 0 deletions docker-openvpn-server/cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ variable "key_name" {
description = "SSH key pair to associate with the launch configuration."
}

variable "root_vol_size" {
type = "string"
description = "Size of the AMI root volume in GB"
}

variable "vpc_id" {
type = "string"
description = "ID of the target VPC."
Expand Down

0 comments on commit 2e7b1f9

Please sign in to comment.