diff options
author | Christopher Baines <mail@cbaines.net> | 2018-07-03 20:26:14 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-07-03 20:26:14 +0100 |
commit | 5efab5a64f96287e3f3fcc227cbf0f14c57321c3 (patch) | |
tree | 2687d0185e02b739e600386ae1d33574e777413b | |
parent | b782247047f4228b9da48df67260e2c8ffea2b1a (diff) | |
download | govuk-mini-environment-admin-5efab5a64f96287e3f3fcc227cbf0f14c57321c3.tar govuk-mini-environment-admin-5efab5a64f96287e3f3fcc227cbf0f14c57321c3.tar.gz |
Set GDS_GUIX_GOVUK_PUPPET_BACKUPS_DIRECTORY
On the AWS build machine.
-rw-r--r-- | terraform/aws/backend/main.tf | 6 |
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 { |