aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--terraform/aws/backend/main.tf6
1 files changed, 5 insertions, 1 deletions
diff --git a/terraform/aws/backend/main.tf b/terraform/aws/backend/main.tf
index 4fb499e..caec120 100644
--- a/terraform/aws/backend/main.tf
+++ b/terraform/aws/backend/main.tf
@@ -315,7 +315,11 @@ ln -s /var/guix/profiles/per-user/ubuntu/guix-profile ~/.guix-profile
EOF
,
# This is needed for things like guix copy to work
- "echo 'GUIX_PROFILE=/home/ubuntu/.guix-profile; source /home/ubuntu/.guix-profile/etc/profile' | cat - .bashrc > temp && mv temp .bashrc"
+ <<EOF
+echo 'GUIX_PROFILE=/home/ubuntu/.guix-profile; source /home/ubuntu/.guix-profile/etc/profile
+export GDS_GUIX_GOVUK_PUPPET_BACKUPS_DIRECTORY=/mnt/efs/govuk-puppet-backups
+' | cat - .bashrc > temp && mv temp .bashrc
+EOF
]
connection {