From 447b95bdac6cdd5134e0f5f12fd62d65e2130dbc Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Mon, 4 Jun 2018 17:12:25 +0100 Subject: Also share the /var/log directory with the host --- app/models/backends/terraform_aws.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/backends/terraform_aws.rb b/app/models/backends/terraform_aws.rb index f538cbf..db8d6cd 100644 --- a/app/models/backends/terraform_aws.rb +++ b/app/models/backends/terraform_aws.rb @@ -68,7 +68,8 @@ class Backends::TerraformAws < ApplicationRecord origin_basic_auth: "#{slug}=#{slug}", share: [ '/var/cache/govuk-mini-environment-admin=/var/cache', - '/var/lib/govuk-mini-environment-admin=/var/lib' + '/var/lib/govuk-mini-environment-admin=/var/lib', + '/var/log/govuk-mini-environment-admin=/var/log' ] }, run_remotely_on_host: "ubuntu@guix-daemon.#{domain}" -- cgit v1.2.3