aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-01-06 11:14:55 +0000
committerChristopher Baines <mail@cbaines.net>2019-01-06 11:14:55 +0000
commitb52c333af7ef929741325e24e5894da37958e7ea (patch)
treebbba2789fab2bdb1cd71845244785ad67bec2382
parent5c6222057042dea84231e8511647110abf11bf54 (diff)
downloadgovuk-mini-environment-admin-b52c333af7ef929741325e24e5894da37958e7ea.tar
govuk-mini-environment-admin-b52c333af7ef929741325e24e5894da37958e7ea.tar.gz
Add Terraform configuration for the gcroot directories
On the AWS backend.
-rw-r--r--terraform/aws/backend/main.tf2
1 files changed, 2 insertions, 0 deletions
diff --git a/terraform/aws/backend/main.tf b/terraform/aws/backend/main.tf
index 23b2c3f..c375411 100644
--- a/terraform/aws/backend/main.tf
+++ b/terraform/aws/backend/main.tf
@@ -310,6 +310,8 @@ EOF
"sudo systemctl daemon-reload",
"sudo systemctl enable guix-daemon.service",
"sudo systemctl start guix-daemon.service",
+ "sudo mkdir -p /var/guix/gcroots/govuk-development-data /var/guix/gcroots/govuk-mini-environment-admin",
+ "sudo chown ubuntu:ubuntu /var/guix/gcroots/govuk-development-data /var/guix/gcroots/govuk-mini-environment-admin",
"mkdir -p ~/.config", # Make the ~/.config directory, to ensure it's owned by ubuntu
# Setup the profile for the ubuntu user
<<EOF