diff options
author | Christopher Baines <mail@cbaines.net> | 2019-01-06 11:14:55 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2019-01-06 11:14:55 +0000 |
commit | b52c333af7ef929741325e24e5894da37958e7ea (patch) | |
tree | bbba2789fab2bdb1cd71845244785ad67bec2382 | |
parent | 5c6222057042dea84231e8511647110abf11bf54 (diff) | |
download | govuk-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.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 |