diff options
-rw-r--r-- | terraform/aws/backend/main.tf | 2 |
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 |