Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Commit eb850ed

Browse files
author
Patrick Baxter
committed
hack/terraform-quickstart: default root disk size to 30GB
This matches the defaults in tectonic-installer and it means we don't run out of disk space building conformance tests on a node.
1 parent cc47f58 commit eb850ed

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

hack/terraform-quickstart/main.tf

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ resource "aws_instance" "bootstrap_node" {
1313
tags {
1414
Name = "${var.instance_tags}"
1515
}
16+
root_block_device {
17+
volume_type = "gp2"
18+
volume_size = "30"
19+
}
1620
}
1721

1822
resource "aws_instance" "worker_node" {
@@ -25,6 +29,11 @@ resource "aws_instance" "worker_node" {
2529
tags {
2630
Name = "${var.instance_tags}"
2731
}
32+
33+
root_block_device {
34+
volume_type = "gp2"
35+
volume_size = "30"
36+
}
2837
}
2938

3039
resource "aws_instance" "master_node" {
@@ -37,6 +46,11 @@ resource "aws_instance" "master_node" {
3746
tags {
3847
Name = "${var.instance_tags}"
3948
}
49+
50+
root_block_device {
51+
volume_type = "gp2"
52+
volume_size = "30"
53+
}
4054
}
4155

4256
data "aws_ami" "coreos_ami" {

0 commit comments

Comments
 (0)