aboutsummaryrefslogtreecommitdiff
path: root/terraform/aws
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-06-28 19:14:56 +0100
committerChristopher Baines <mail@cbaines.net>2018-06-28 19:14:56 +0100
commit4041598440691a4f4b12bf2e868c459d9cdb2a89 (patch)
tree9ccc3097b96177b865c53213ef5241543b151b8b /terraform/aws
parenta2e0b3fe4751dce20168ea3d7a480aed8527b870 (diff)
downloadgovuk-mini-environment-admin-4041598440691a4f4b12bf2e868c459d9cdb2a89.tar
govuk-mini-environment-admin-4041598440691a4f4b12bf2e868c459d9cdb2a89.tar.gz
Increase the number of build users in AWS
Diffstat (limited to 'terraform/aws')
-rw-r--r--terraform/aws/backend/guix-daemon.service.tpl2
-rw-r--r--terraform/aws/backend/main.tf2
2 files changed, 2 insertions, 2 deletions
diff --git a/terraform/aws/backend/guix-daemon.service.tpl b/terraform/aws/backend/guix-daemon.service.tpl
index adf07a1..31deb44 100644
--- a/terraform/aws/backend/guix-daemon.service.tpl
+++ b/terraform/aws/backend/guix-daemon.service.tpl
@@ -2,7 +2,7 @@
Description=Build daemon for GNU Guix
[Service]
-ExecStart=/var/guix/profiles/per-user/root/guix-profile/bin/guix-daemon --build-users-group=guixbuild --disable-deduplication --substitute-urls="${substitute_servers}" --listen=0.0.0.0 --listen=/var/guix/daemon-socket/socket --max-jobs=16
+ExecStart=/var/guix/profiles/per-user/root/guix-profile/bin/guix-daemon --build-users-group=guixbuild --disable-deduplication --substitute-urls="${substitute_servers}" --listen=0.0.0.0 --listen=/var/guix/daemon-socket/socket --max-jobs=32
Environment=GUIX_LOCPATH=/root/.guix-profile/lib/locale
RemainAfterExit=yes
StandardOutput=syslog
diff --git a/terraform/aws/backend/main.tf b/terraform/aws/backend/main.tf
index c3fcf60..dbc8de6 100644
--- a/terraform/aws/backend/main.tf
+++ b/terraform/aws/backend/main.tf
@@ -286,7 +286,7 @@ EOF
"sudo mv /home/ubuntu/acl /etc/guix/acl",
"sudo groupadd --system guixbuild",
<<EOF
-for i in `seq -w 1 17`;
+for i in `seq -w 1 33`;
do
sudo useradd -g guixbuild -G guixbuild \
-d /var/empty -s `which nologin` \