Increase the root_block_device GB

Fixes #53
This commit is contained in:
Andrew Cravenho 2018-09-04 14:50:53 -07:00
parent 73354f40cc
commit 3126b6b802
4 changed files with 11 additions and 0 deletions

View File

@ -19,6 +19,7 @@ module "stack" {
vpc_cidr = "${var.vpc_cidr}"
public_subnet_cidr = "${var.public_subnet_cidr}"
instance_type = "${var.instance_type}"
root_block_size = "${var.root_block_size}"
db_subnet_cidr = "${var.db_subnet_cidr}"
dns_zone_name = "${var.dns_zone_name}"

View File

@ -28,6 +28,11 @@ variable "instance_type" {
default = "m5.xlarge"
}
variable "root_block_size" {
description = "The EC2 instance root block size in GB"
default = 8
}
variable "chains" {
description = "A map of chain names to urls"

View File

@ -30,6 +30,10 @@ resource "aws_launch_configuration" "explorer" {
user_data = "${file("${path.module}/libexec/init.sh")}"
root_block_device {
volume_size = "${var.root_block_size}"
}
lifecycle {
create_before_destroy = true
}

View File

@ -6,6 +6,7 @@ variable "public_subnet_cidr" {}
variable "db_subnet_cidr" {}
variable "dns_zone_name" {}
variable "instance_type" {}
variable "root_block_size" {}
variable "chains" {
default = {}