aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-06-03 22:05:01 +0100
committerChristopher Baines <mail@cbaines.net>2018-06-03 22:05:01 +0100
commitc89386a109d7e89bb1f96f693f78f499724318f5 (patch)
tree5976ca308695d889af745491948c49ccd1f1da8c
parent0969eff03b8f6cd6b22090dda3dd99044f9b9a39 (diff)
downloadgovuk-mini-environment-admin-c89386a109d7e89bb1f96f693f78f499724318f5.tar
govuk-mini-environment-admin-c89386a109d7e89bb1f96f693f78f499724318f5.tar.gz
Give AWS mini environments 100GB of space
To make room for data snapshots.
-rw-r--r--terraform/aws/mini_environment/main.tf4
1 files changed, 4 insertions, 0 deletions
diff --git a/terraform/aws/mini_environment/main.tf b/terraform/aws/mini_environment/main.tf
index f5db361..6dd7ac6 100644
--- a/terraform/aws/mini_environment/main.tf
+++ b/terraform/aws/mini_environment/main.tf
@@ -70,6 +70,10 @@ resource "aws_spot_instance_request" "main" {
wait_for_fulfillment = true
spot_price = "0.05"
+ root_block_device {
+ volume_size = "100"
+ }
+
provisioner "file" {
content = "${data.template_file.govuk_service.rendered}"
destination = "/home/ubuntu/govuk.service"