aboutsummaryrefslogtreecommitdiff
path: root/terraform/aws
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-07-03 20:41:46 +0100
committerChristopher Baines <mail@cbaines.net>2018-07-03 20:41:46 +0100
commitc1b4bf80f947c8698cc917f13ef1497569785c9c (patch)
treee5926c7faa01966add90129c290a8abc256fab3c /terraform/aws
parent09c6223cf694005aca9999bfffb1318cc0126441 (diff)
downloadgovuk-mini-environment-admin-c1b4bf80f947c8698cc917f13ef1497569785c9c.tar
govuk-mini-environment-admin-c1b4bf80f947c8698cc917f13ef1497569785c9c.tar.gz
Change the backend instance to a t2.xlargerelease_10
The builds can be quite expensive, so the extra resource is useful.
Diffstat (limited to 'terraform/aws')
-rw-r--r--terraform/aws/backend/main.tf4
1 files changed, 2 insertions, 2 deletions
diff --git a/terraform/aws/backend/main.tf b/terraform/aws/backend/main.tf
index caec120..29e07cb 100644
--- a/terraform/aws/backend/main.tf
+++ b/terraform/aws/backend/main.tf
@@ -223,7 +223,7 @@ resource "aws_security_group" "efs_mount_target" {
resource "aws_spot_instance_request" "main" {
ami = "ami-8fd760f6"
- instance_type = "t2.large"
+ instance_type = "t2.xlarge"
key_name = "${aws_key_pair.deployer.key_name}"
security_groups = [
"${aws_security_group.guix_daemon.name}",
@@ -232,7 +232,7 @@ resource "aws_spot_instance_request" "main" {
]
wait_for_fulfillment = true
- spot_price = "0.05"
+ spot_price = "0.21"
spot_type = "one-time"
root_block_device {