From b52c333af7ef929741325e24e5894da37958e7ea Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 6 Jan 2019 11:14:55 +0000 Subject: Add Terraform configuration for the gcroot directories On the AWS backend. --- terraform/aws/backend/main.tf | 2 ++ 1 file changed, 2 insertions(+) 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 <